Chris@0: <% if @project.shared_versions.any? %> Chris@0:
<%= l(:label_version) %> | Chris@0:<%= l(:field_effective_date) %> | Chris@0:<%= l(:field_description) %> | Chris@0:<%= l(:field_status) %> | Chris@0:<%= l(:field_sharing) %> | chris@37:<%= l(:label_wiki_page) %> | Chris@0:Chris@0: |
---|---|---|---|---|---|---|
<%= link_to_version version %> | Chris@0:<%= format_date(version.effective_date) %> | Chris@0:<%=h version.description %> | Chris@0:<%= l("version_status_#{version.status}") %> | Chris@0:<%=h format_version_sharing(version.sharing) %> | chris@37:<%= 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@0:Chris@0: <% if version.project == @project %> Chris@0: <%= link_to_if_authorized l(:button_edit), {:controller => 'versions', :action => 'edit', :id => version }, :class => 'icon icon-edit' %> chris@22: <%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy', :id => version}, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' %> Chris@0: <% end %> Chris@0: | Chris@0:
<%= l(:label_no_data) %>
Chris@0: <% end %> Chris@0: Chris@0:<%= link_to_if_authorized l(:label_version_new), :controller => 'versions', :action => 'new', :project_id => @project %>