app/views/layouts/fcrepo_admin/datastreams.html.erb in fcrepo_admin-0.4.0 vs app/views/layouts/fcrepo_admin/datastreams.html.erb in fcrepo_admin-0.4.1
- old
+ new
@@ -1,10 +1,17 @@
<% content_for :main do %>
<h1><%= object_title %></h1>
- <h3><%= t("fcrepo_admin.datastream.title") %>: <%= @datastream.dsid %></h3>
+ <h3>
+ <%= t("fcrepo_admin.datastream.title") %>: <%= @datastream.dsid %>
+ </h3>
+ <% unless ds_is_current_version? %>
+ <p>
+ <%= render :partial => 'version', :locals => {:datastream => @datastream} %>
+ </p>
+ <% end %>
<%= yield %>
<% end %>
<% content_for :sidebar do %>
<%= render 'fcrepo_admin/objects/context_nav' %>
- <%= render 'fcrepo_admin/datastreams/context_nav' %>
+ <%= render 'context_nav' %>
<% end %>
<%= render :template => 'layouts/fcrepo_admin/default' %>