Sha256: 55abe450df1dff47eafa753e5e147153f0a85d4e86394461ed44dfa9078e673a

Contents?: true

Size: 724 Bytes

Versions: 3

Compression:

Stored size: 724 Bytes

Contents

<% if presenter.file_set_presenters.present? %>
<div class="panel panel-default related_files">
  <div class="panel-heading">
    <h2>Files</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.file_set_presenters %>
    </tbody>
  </table>
</div>
<% elsif can? :edit, presenter.id %>
  <h2>Files</h2>
  <p class="center"><em>This <%= presenter.human_readable_type %> has no files 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
curation_concerns-0.12.0.pre1 app/views/curation_concerns/base/_related_files.html.erb
curation_concerns-0.11.0 app/views/curation_concerns/base/_related_files.html.erb
curation_concerns-0.11.0.rc1 app/views/curation_concerns/base/_related_files.html.erb