##// END OF EJS Templates
'Due in' label removed from the changelog view....
Jean-Philippe Lang -
r689:6260892949de
parent child
Show More
@@ -1,37 +1,35
1 1 <h2><%=l(:label_change_log)%></h2>
2 2
3 3 <div class="rightbox" style="width:140px;">
4 4 <% form_tag do %>
5 5 <p><strong><%=l(:label_tracker_plural)%></strong><br />
6 6 <% @trackers.each do |tracker| %>
7 7 <%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
8 8 <%= tracker.name %><br />
9 9 <% end %></p>
10 10 <p><center><%= submit_tag l(:button_apply), :class => 'button-small' %></center></p>
11 11 <% end %>
12 12 </div>
13 13
14 14 <% if @versions.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
15 15
16 16 <% @versions.each do |version| %>
17 17 <a name="<%= version.name %>"><h3 class="icon22 icon22-package"><%= version.name %></h3></a>
18 <% if version.completed? %>
18 <% if version.effective_date %>
19 19 <p><%= format_date(version.effective_date) %></p>
20 <% elsif version.effective_date %>
21 <p><strong><%=l(:label_roadmap_due_in)%> <%= distance_of_time_in_words Time.now, version.effective_date %> (<%= format_date(version.effective_date) %>)</strong></p>
22 20 <% end %>
23 21 <p><%=h version.description %></p>
24 22 <% issues = version.fixed_issues.find(:all,
25 23 :include => [:status, :tracker],
26 24 :conditions => ["#{IssueStatus.table_name}.is_closed=? AND #{Issue.table_name}.tracker_id in (#{@selected_tracker_ids.join(',')})", true],
27 25 :order => "#{Tracker.table_name}.position") unless @selected_tracker_ids.empty?
28 26 issues ||= []
29 27 %>
30 28 <% if !issues.empty? %>
31 29 <ul>
32 30 <% issues.each do |issue| %>
33 31 <li><%= link_to_issue(issue) %>: <%=h issue.subject %></li>
34 32 <% end %>
35 33 </ul>
36 34 <% end %>
37 35 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now