Sha256: 38a0d941837d6a2ab448f0437aa3c14c9fdb8d1b0b0882734031b7de4bb4a633

Contents?: true

Size: 968 Bytes

Versions: 1

Compression:

Stored size: 968 Bytes

Contents

<h3><%= t("fcrepo_admin.datastreams.title") %></h3>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
	  <th scope="col"><%= t("fcrepo_admin.datastreams.header.id") %></th>
	  <th scope="col"><%= t("fcrepo_admin.datastreams.header.label") %></th>
	  <th scope="col"><%= t("fcrepo_admin.datastreams.header.mimetype") %></th>
	  <th scope="col"><%= t("fcrepo_admin.datastreams.header.create_date") %></th>
    </tr>
  </thead>
  <tbody>
    <% object.datastreams.each do |dsid, ds| %>
    <tr>
	  <td>
		<%= 
		   link_to_unless ds.profile.empty?, dsid, fcrepo_admin.object_datastream_path(ds.pid, dsid) do |name|
		     name
		   end
		 %>
      </td>
	  <td><%= ds.profile["dsLabel"] %></td>
	  <td><%= ds.profile["dsMIME"] %></td>
	  <td>
		<% unless ds.profile.empty? %>
		  <%= ds.profile["dsCreateDate"] %>
		<% else %>
		  [<%= t("fcrepo_admin.datastreams.not_persisted") %>]
		<% end %>
	  </td>
    </tr>
    <% end %>
  </tbody>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fcrepo_admin-0.4.0 app/views/fcrepo_admin/datastreams/_datastreams.html.erb