app/views/layouts/fcrepo_admin/datastreams.html.erb in fcrepo_admin-0.3.1 vs app/views/layouts/fcrepo_admin/datastreams.html.erb in fcrepo_admin-0.3.2
- old
+ new
@@ -2,8 +2,9 @@
<h1><%= object_title %></h1>
<h3><%= t("fcrepo_admin.datastream.title") %>: <%= @datastream.dsid %></h3>
<%= yield %>
<% end %>
<% content_for :sidebar do %>
- <%= render :partial => 'fcrepo_admin/datastreams/datastream_nav', :locals => {:datastream => @datastream, :object => @object} %>
+ <%= render :partial => 'fcrepo_admin/objects/context_nav_items', :locals => {:object => @object}, :layout => 'fcrepo_admin/shared/context_nav_list' %>
+ <%= render :partial => 'fcrepo_admin/datastreams/context_nav_items', :locals => {:datastream => @datastream, :object => @object}, :layout => 'fcrepo_admin/shared/context_nav_list' %>
<% end %>
<%= render :template => 'layouts/fcrepo_admin/default' %>