Sha256: 83195e8a000a37a97c65771de578defb8b7996ea560106c5c3b042eeeae4c04d

Contents?: true

Size: 960 Bytes

Versions: 1

Compression:

Stored size: 960 Bytes

Contents

<table class="table table-bordered table-condensed table-striped <%= ds_list_css_class object %>">
  <thead>
    <tr>
	  <th scope="col"><%= t("fcrepo_admin.datastreams.header.id") %></th>
	  <% columns.each do |col| -%>
	  <th scope="col"><%= t("fcrepo_admin.datastream.profile.keys.#{col}") %></th>
	  <% end -%>
    </tr>
  </thead>
  <tbody>
    <% object.datastreams.each do |dsid, ds| -%>
      <tr class="<%= ds_css_class ds %>">
	    <td><%= link_to dsid, fcrepo_admin.object_datastream_path(object, ds) %></td>
	    <% unless ds.new? -%>
	      <% columns.each do |col| -%>
	        <td class="<%= ds_profile_css_class ds, col %>"><%= format_datastream_profile_value ds, col %></td>
	      <% end -%>
        <% else -%>
		  <td class="<%= ds_profile_css_class ds, 'not-persisted' %>" colspan="<%= columns.size %>">
			<em><%= t("fcrepo_admin.datastream.not_persisted") %></em>
		  </td>
	    <% end -%>
      </tr>
    <% end -%>
  </tbody>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fcrepo_admin-0.6.1 app/views/fcrepo_admin/datastreams/_datastreams_list.html.erb