Mercurial > hg > soundsoftware-site
comparison .svn/pristine/2b/2b9b5932a0933b4096addb68309527dfbf45da2c.svn-base @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
comparison
equal
deleted
inserted
replaced
1297:0a574315af3e | 1298:4f746d8966dd |
---|---|
1 <% if version.completed? %> | |
2 <p><%= format_date(version.effective_date) %></p> | |
3 <% elsif version.effective_date %> | |
4 <p><strong><%= due_date_distance_in_words(version.effective_date) %></strong> (<%= format_date(version.effective_date) %>)</p> | |
5 <% end %> | |
6 | |
7 <p><%=h version.description %></p> | |
8 <% if version.custom_field_values.any? %> | |
9 <ul> | |
10 <% version.custom_field_values.each do |custom_value| %> | |
11 <% if custom_value.value.present? %> | |
12 <li><%=h custom_value.custom_field.name %>: <%=h show_value(custom_value) %></li> | |
13 <% end %> | |
14 <% end %> | |
15 </ul> | |
16 <% end %> | |
17 | |
18 <% if version.issues_count > 0 %> | |
19 <%= progress_bar([version.closed_percent, version.completed_percent], :width => '40em', :legend => ('%0.0f%' % version.completed_percent)) %> | |
20 <p class="progress-info"> | |
21 <%= link_to(l(:label_x_issues, :count => version.issues_count), | |
22 project_issues_path(version.project, :status_id => '*', :fixed_version_id => version, :set_filter => 1)) %> | |
23 | |
24 (<%= link_to_if(version.closed_issues_count > 0, l(:label_x_closed_issues_abbr, :count => version.closed_issues_count), | |
25 project_issues_path(version.project, :status_id => 'c', :fixed_version_id => version, :set_filter => 1)) %> | |
26 — | |
27 <%= link_to_if(version.open_issues_count > 0, l(:label_x_open_issues_abbr, :count => version.open_issues_count), | |
28 project_issues_path(version.project, :status_id => 'o', :fixed_version_id => version, :set_filter => 1)) %>) | |
29 </p> | |
30 <% else %> | |
31 <p class="progress-info"><%= l(:label_roadmap_no_issues) %></p> | |
32 <% end %> |