Chris@1296: <% if @project.shared_versions.any? %> Chris@1296:
<%= l(:label_version) %> | Chris@1296:<%= l(:field_effective_date) %> | Chris@1296:<%= l(:field_description) %> | Chris@1296:<%= l(:field_status) %> | Chris@1296:<%= l(:field_sharing) %> | Chris@1296:<%= l(:label_wiki_page) %> | Chris@1296:Chris@1296: |
---|---|---|---|---|---|---|
<%= link_to_version version %> | Chris@1296:<%= format_date(version.effective_date) %> | Chris@1296:<%=h version.description %> | Chris@1296:<%= l("version_status_#{version.status}") %> | Chris@1296:<%=h format_version_sharing(version.sharing) %> | Chris@1296:<%= 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? %> | Chris@1296:Chris@1296: <% if version.project == @project && User.current.allowed_to?(:manage_versions, @project) %> Chris@1296: <%= link_to l(:button_edit), edit_version_path(version), :class => 'icon icon-edit' %> Chris@1296: <%= delete_link version_path(version) %> Chris@1296: <% end %> Chris@1296: | Chris@1296:
<%= l(:label_no_data) %>
Chris@1296: <% end %> Chris@1296: Chris@1296:<%= 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) %>