% if @project.shared_versions.any? %>
<%= l(:label_version) %> | <%= l(:field_effective_date) %> | <%= l(:field_description) %> | <%= l(:field_status) %> | |
<%= 'shared' if version.project != @project %> <%= link_to_version version %> | <%= format_date(version.effective_date) %> | <%=h version.description %> | <%= l("version_status_#{version.status}") %> | <%#= link_to_if_authorized(h(truncate(version.wiki_page_title,:length=>20)), {:controller => 'wiki', # :action => 'show', # :project_id => version.project, :id => Wiki.titleize(version.wiki_page_title)},:class=>"c_blue02") || h(version.wiki_page_title) unless version.wiki_page_title.blank? || version.project.wiki.nil? %><% 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 %> |