app/views/layouts/fcrepo_admin/datastreams.html.erb in fcrepo_admin-0.4.1 vs app/views/layouts/fcrepo_admin/datastreams.html.erb in fcrepo_admin-0.5.0

- old
+ new

@@ -1,17 +1,15 @@ <% content_for :main do %> <h1><%= object_title %></h1> - <h3> - <%= t("fcrepo_admin.datastream.title") %>: <%= @datastream.dsid %> - </h3> - <% unless ds_is_current_version? %> + <h3><%= datastream_title %></h3> + <% unless @datastream.current_version? %> <p> - <%= render :partial => 'version', :locals => {:datastream => @datastream} %> + <%= render_datastream_version %> </p> <% end %> <%= yield %> <% end %> <% content_for :sidebar do %> - <%= render 'fcrepo_admin/objects/context_nav' %> - <%= render 'context_nav' %> + <%= object_nav %> + <%= datastream_nav %> <% end %> <%= render :template => 'layouts/fcrepo_admin/default' %>