##// END OF EJS Templates
Introduce virtual MenuNodes (#15880)....
Introduce virtual MenuNodes (#15880). They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14645:719d4b527d04
r15119:53710d80fc88
Show More
_overview.html.erb
38 lines | 1.7 KiB | text/plain | TextLexer
/ app / views / versions / _overview.html.erb
Jean-Philippe Lang
Improved responsiveness for versions and roadmap (#19097)....
r14469 <div class="version-overview">
Jean-Philippe Lang
Added version details view accessible from the roadmap....
r942 <% if version.completed? %>
<p><%= format_date(version.effective_date) %></p>
<% elsif version.effective_date %>
Jean-Philippe Lang
Fixed: Roadmap crashes when a version has a due date > 2037....
r1885 <p><strong><%= due_date_distance_in_words(version.effective_date) %></strong> (<%= format_date(version.effective_date) %>)</p>
Jean-Philippe Lang
Added version details view accessible from the roadmap....
r942 <% end %>
<p><%=h version.description %></p>
Jean-Philippe Lang
Display of multi custom fields....
r8606 <% if version.custom_field_values.any? %>
Jean-Philippe Lang
Adds custom fields for versions (#4219)....
r2950 <ul>
Jean-Philippe Lang
Fixed: Custom field is rendered, even if its value is empty (for multiple) (#18654)....
r13482 <% render_custom_field_values(version) do |custom_field, formatted| %>
<li><span class="label"><%= custom_field.name %>:</span> <%= formatted %></li>
Toshi MARUYAMA
replace tabs to spaces at app/views/versions/_overview.html.erb...
r7275 <% end %>
Jean-Philippe Lang
Adds custom fields for versions (#4219)....
r2950 </ul>
Jean-Philippe Lang
Do not generate empty uls....
r8437 <% end %>
Jean-Philippe Lang
Added version details view accessible from the roadmap....
r942
Jean-Philippe Lang
Use #issues_count which is already retrieved....
r8935 <% if version.issues_count > 0 %>
Toshi MARUYAMA
replace tabs to spaces and code cleanup at app/views/versions/_overview.html.erb...
r11401 <%= progress_bar([version.closed_percent, version.completed_percent],
Jean-Philippe Lang
Tooltip on progress bar (#21497)....
r14645 :titles =>
["%s: %0.0f%" % [l(:label_closed_issues_plural), version.closed_percent],
"%s: %0.0f%" % [l(:field_done_ratio), version.completed_percent]],
Jean-Philippe Lang
Improved responsiveness for versions and roadmap (#19097)....
r14469 :legend => ('%0.0f%' % version.completed_percent)) %>
Jean-Philippe Lang
Added version details view accessible from the roadmap....
r942 <p class="progress-info">
Jean-Philippe Lang
Fixed: Issues counters in roadmap only link to issues in the same project (#9660)....
r13035 <%= link_to(l(:label_x_issues, :count => version.issues_count),
version_filtered_issues_path(version, :status_id => '*')) %>
&nbsp;
(<%= link_to_if(version.closed_issues_count > 0,
l(:label_x_closed_issues_abbr, :count => version.closed_issues_count),
version_filtered_issues_path(version, :status_id => 'c')) %>
&#8212;
<%= link_to_if(version.open_issues_count > 0,
l(:label_x_open_issues_abbr, :count => version.open_issues_count),
version_filtered_issues_path(version, :status_id => 'o')) %>)
Jean-Philippe Lang
Added version details view accessible from the roadmap....
r942 </p>
<% else %>
Jean-Philippe Lang
Adds total number of issues for each version on the roadmap....
r8509 <p class="progress-info"><%= l(:label_roadmap_no_issues) %></p>
Jean-Philippe Lang
Added version details view accessible from the roadmap....
r942 <% end %>
Jean-Philippe Lang
Improved responsiveness for versions and roadmap (#19097)....
r14469 </div>