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