@@ -1,32 +1,32 | |||
|
1 | 1 | <% if version.completed? %> |
|
2 | 2 | <p><%= format_date(version.effective_date) %></p> |
|
3 | 3 | <% elsif version.effective_date %> |
|
4 | 4 | <p><strong><%= due_date_distance_in_words(version.effective_date) %></strong> (<%= format_date(version.effective_date) %>)</p> |
|
5 | 5 | <% end %> |
|
6 | 6 | |
|
7 | 7 | <p><%=h version.description %></p> |
|
8 | 8 | <% if version.custom_values.any? %> |
|
9 | 9 | <ul> |
|
10 | <% version.custom_values.each do |custom_value| %> | |
|
11 |
<% if |
|
|
10 | <% version.custom_field_values.each do |custom_value| %> | |
|
11 | <% if custom_value.value.present? %> | |
|
12 | 12 | <li><%=h custom_value.custom_field.name %>: <%=h show_value(custom_value) %></li> |
|
13 | 13 | <% end %> |
|
14 | 14 | <% end %> |
|
15 | 15 | </ul> |
|
16 | 16 | <% end %> |
|
17 | 17 | |
|
18 | 18 | <% if version.fixed_issues.count > 0 %> |
|
19 | 19 | <%= progress_bar([version.closed_pourcent, version.completed_pourcent], :width => '40em', :legend => ('%0.0f%' % version.completed_pourcent)) %> |
|
20 | 20 | <p class="progress-info"> |
|
21 | 21 | <%= link_to(l(:label_x_issues, :count => version.fixed_issues.count), |
|
22 | 22 | project_issues_path(version.project, :status_id => '*', :fixed_version_id => version, :set_filter => 1)) %> |
|
23 | 23 | |
|
24 | 24 | (<%= link_to_if(version.closed_issues_count > 0, l(:label_x_closed_issues_abbr, :count => version.closed_issues_count), |
|
25 | 25 | project_issues_path(version.project, :status_id => 'c', :fixed_version_id => version, :set_filter => 1)) %> |
|
26 | 26 | — |
|
27 | 27 | <%= link_to_if(version.open_issues_count > 0, l(:label_x_open_issues_abbr, :count => version.open_issues_count), |
|
28 | 28 | project_issues_path(version.project, :status_id => 'o', :fixed_version_id => version, :set_filter => 1)) %>) |
|
29 | 29 | </p> |
|
30 | 30 | <% else %> |
|
31 | 31 | <p class="progress-info"><%= l(:label_roadmap_no_issues) %></p> |
|
32 | 32 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now