% if @project.shared_versions.any? %>
<%= l(:label_version) %> | <%= l(:field_effective_date) %> | <%= l(:field_description) %> | <%= l(:field_status) %> | <%= l(:field_sharing) %> | <%= l(:label_wiki_page) %> | |
<%= 'shared' if version.project != @project %> <%= link_to_version version %> | <%= format_date(version.effective_date) %> | <%=h version.description %> | <%= l("version_status_#{version.status}") %> | <%=h format_version_sharing(version.sharing) %> | <% if version.project == @project && User.current.allowed_to?(:manage_versions, @project) %> <%= link_to l(:button_edit), edit_version_path(version), :class => 'c_purple' %> <%= delete_link_version version_path(version) %> <% end %> |