<% unless ds_is_current_version? %>
  • <%= render :partial => 'version', :locals => {:datastream => datastream} %>
  • <%= link_to t("fcrepo_admin.nav.items.current_version"), fcrepo_admin.object_datastream_path(object, datastream.dsid) %>
  • <% end %>
  • <%= link_to_unless_current t("fcrepo_admin.datastream.nav.items.summary"), fcrepo_admin.object_datastream_path(object, datastream.dsid, datastream_params) %>
  • <% unless datastream.new? %> <% if ds_content_is_text? %>
  • <%= link_to_unless_current t("fcrepo_admin.datastream.nav.items.content"), fcrepo_admin.content_object_datastream_path(object, datastream.dsid, datastream_params) %>
  • <% end %>
  • <%= link_to t("fcrepo_admin.datastream.nav.items.download"), fcrepo_admin.download_object_datastream_path(object, datastream.dsid, datastream_params) %>
  • <% end %> <% if ds_is_current_version? %> <% if ds_content_is_editable? && can?(:edit, object) %>
  • <%= link_to_unless_current t("fcrepo_admin.datastream.nav.items.edit"), fcrepo_admin.edit_object_datastream_path(object, datastream.dsid) %>
  • <% end %> <% if can?(:upload, object) %>
  • <%= link_to_unless_current t("fcrepo_admin.datastream.nav.items.upload"), fcrepo_admin.upload_object_datastream_path(object, datastream.dsid) %>
  • <% end %> <% end %> <% unless datastream.new? %>
  • <%= link_to_unless_current t("fcrepo_admin.datastream.nav.items.history"), fcrepo_admin.history_object_datastream_path(object, datastream.dsid) %>
  • <% end %>