Sha256: 4412dc70deb626a4bae1c3c551395dfd350445f6114c11057c7eb58795c3d71a

Contents?: true

Size: 753 Bytes

Versions: 3

Compression:

Stored size: 753 Bytes

Contents

<% if presenter.image_file_presenters.present? %>
<div class="panel panel-default related_files">
  <div class="panel-heading">
    <h2>Image 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.image_file_presenters %>
    </tbody>
  </table>
</div>
<% elsif can? :edit, presenter.id %>
  <h2>Image File</h2>
  <p class="center"><em>This <%= presenter.human_readable_type %> doesn't have an image 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/image_works/_related_image_files.html.erb
geo_concerns-0.0.2 app/views/curation_concerns/image_works/_related_image_files.html.erb
geo_concerns-0.0.1 app/views/curation_concerns/image_works/_related_image_files.html.erb