##// 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:

r13661:b778c51e9049
r15119:53710d80fc88
Show More
_versions.html.erb
41 lines | 1.9 KiB | text/plain | TextLexer
Jean-Philippe Lang
Display shared versions in project settings (#4357)....
r3019 <% if @project.shared_versions.any? %>
Jean-Philippe Lang
Adds version status to limit issue assignments (#1245)....
r2906 <table class="list versions">
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_versions.html.erb...
r7215 <thead><tr>
Jean-Philippe Lang
Added project module concept....
r714 <th><%= l(:label_version) %></th>
<th><%= l(:field_effective_date) %></th>
<th><%= l(:field_description) %></th>
Jean-Philippe Lang
Adds version status to limit issue assignments (#1245)....
r2906 <th><%= l(:field_status) %></th>
Jean-Philippe Lang
Version sharing (#465) + optional inclusion of subprojects in the roadmap view (#2666)....
r3009 <th><%= l(:field_sharing) %></th>
Jean-Baptiste Barth
Fix wikilinks in project > settings > versions and version view. #6435 #4416...
r4193 <th><%= l(:label_wiki_page) %></th>
Jean-Philippe Lang
Added project module concept....
r714 <th style="width:15%"></th>
Jean-Philippe Lang
Adds missing thead tags (#5440)....
r3620 </tr></thead>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_versions.html.erb...
r7215 <tbody>
Jean-Philippe Lang
Display shared versions in project settings (#4357)....
r3019 <% for version in @project.shared_versions.sort %>
<tr class="version <%= cycle 'odd', 'even' %> <%=h version.status %> <%= 'shared' if version.project != @project %>">
<td class="name"><%= link_to_version version %></td>
<td class="date"><%= format_date(version.effective_date) %></td>
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <td class="description"><%= version.description %></td>
Jean-Philippe Lang
Display shared versions in project settings (#4357)....
r3019 <td class="status"><%= l("version_status_#{version.status}") %></td>
<td class="sharing"><%=h format_version_sharing(version.sharing) %></td>
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <td><%= link_to_if_authorized(version.wiki_page_title, {:controller => 'wiki', :action => 'show', :project_id => version.project, :id => Wiki.titleize(version.wiki_page_title)}) || h(version.wiki_page_title) unless version.wiki_page_title.blank? || version.project.wiki.nil? %></td>
Jean-Philippe Lang
Adds version status to limit issue assignments (#1245)....
r2906 <td class="buttons">
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_versions.html.erb...
r7215 <% if version.project == @project && User.current.allowed_to?(:manage_versions, @project) %>
<%= link_to l(:button_edit), edit_version_path(version), :class => 'icon icon-edit' %>
Jean-Philippe Lang
Deprecated :confirm => 'Text' option....
r9754 <%= delete_link version_path(version) %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_versions.html.erb...
r7215 <% end %>
</td>
Jean-Philippe Lang
Added project module concept....
r714 </tr>
<% end; reset_cycle %>
</tbody>
</table>
Jean-Philippe Lang
Application layout refactored....
r736 <% else %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% end %>
Jean-Philippe Lang
Adds a link to automatically close completed versions in project settings (#1245)....
r2909 <div class="contextual">
<% if @project.versions.any? %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_versions.html.erb...
r7215 <%= link_to l(:label_close_versions), close_completed_project_versions_path(@project), :method => :put %>
Jean-Philippe Lang
Adds a link to automatically close completed versions in project settings (#1245)....
r2909 <% end %>
</div>
Jean-Philippe Lang
Fixed that creating a new version from project settings does not redirect to versions tab (#10923)....
r9516 <p><%= link_to l(:label_version_new), new_project_version_path(@project, :back_url => ''), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %></p>