Sha256: 17d93fce75c50fba555e735859be938c9c48b39f70a3965d661a844eebb47a34

Contents?: true

Size: 768 Bytes

Versions: 1

Compression:

Stored size: 768 Bytes

Contents

<h4>History</h4>
<table class="table table-condensed table-bordered" style="width: auto">
  <thead>
	<tr>
	  <th scope="col"><%= t("fcrepo_admin.datastream.profile.dsVersionID") %></th>
	  <% datastream_history_columns.each do |col| %>
	  <th scope="col"><%= t("fcrepo_admin.datastream.profile.#{col}") %></th>
	  <% end %>
	</tr>
  </thead>
  <tbody>
	<% @datastream.versions.each_with_index do |ds, i| %>
	<tr>
	  <td><%= 
			 link_to_unless i == 0, ds.profile["dsVersionID"], "#{fcrepo_admin.object_datastream_path(@object, ds.dsid)}?asOfDateTime=#{ds.asOfDateTime}" do |name|
			   "#{name} (current version)"
			 end
			 -%>
	  </td>
	  <% datastream_history_columns.each do |col| %>
	  <td><%= ds.profile[col] %></td>
	  <% end %>
	<% end %>
  </tbody>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fcrepo_admin-0.4.1 app/views/fcrepo_admin/datastreams/history.html.erb