Sha256: 0435a74af9a4ad06d8a1506950451f1c189cc28d4c3e4a898d39855abfecf5bb

Contents?: true

Size: 757 Bytes

Versions: 3

Compression:

Stored size: 757 Bytes

Contents

<% if presenter.raster_file_presenters.present? %>
<div class="panel panel-default related_files">
  <div class="panel-heading">
    <h2>Raster File</h2>
  </div>
  <table class="table table-striped">
    <thead>
      <tr>
        <th>File</th>
        <th>Filename</th>
        <th>Date Uploaded</th>
        <th>Visibility</th>
        <th>Actions</th>
      </tr>
    </thead>
    <tbody>
      <%= render partial: 'member', collection: @presenter.raster_file_presenters %>
    </tbody>
  </table>
</div>
<% elsif can? :edit, presenter.id %>
  <h2>Raster File</h2>
  <p class="center"><em>This <%= presenter.human_readable_type %> doesn't have a raster file associated with it. You can add one using the "Attach a File" button below.</em></p>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
geo_concerns-0.0.3 app/views/curation_concerns/raster_works/_related_raster_files.html.erb
geo_concerns-0.0.2 app/views/curation_concerns/raster_works/_related_raster_files.html.erb
geo_concerns-0.0.1 app/views/curation_concerns/raster_works/_related_raster_files.html.erb