##// END OF EJS Templates
Additional tests for SearchController and handle my_projects scope without memberships....
Additional tests for SearchController and handle my_projects scope without memberships. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8266 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7816:bb8e2beeac36
r8146:bb0cd34f4e2e
Show More
_versions.html.erb
41 lines | 2.0 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>
<td class="description"><%=h version.description %></td>
<td class="status"><%= l("version_status_#{version.status}") %></td>
<td class="sharing"><%=h format_version_sharing(version.sharing) %></td>
Jean-Baptiste Barth
Fix wikilinks in project > settings > versions and version view. #6435 #4416...
r4193 <td><%= link_to_if_authorized(h(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' %>
<%= link_to l(:button_delete), version_path(version), :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' %>
<% 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
Version routes cleanup in views....
r7816 <p><%= link_to l(:label_version_new), new_project_version_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %></p>