Sha256: b504ddc3560aa266fcef40c22e05d8959a9caa47ec113a0aaba6c36d5759f771

Contents?: true

Size: 685 Bytes

Versions: 9

Compression:

Stored size: 685 Bytes

Contents

<% if presenter.file_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 presenter.file_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

9 entries across 9 versions & 1 rubygems

Version Path
curation_concerns-0.10.0 app/views/curation_concerns/base/_related_files.html.erb
curation_concerns-0.9.0 app/views/curation_concerns/base/_related_files.html.erb
curation_concerns-0.8.0 app/views/curation_concerns/base/_related_files.html.erb
curation_concerns-0.7.0 app/views/curation_concerns/base/_related_files.html.erb
curation_concerns-0.6.0 app/views/curation_concerns/base/_related_files.html.erb
curation_concerns-0.5.0 app/views/curation_concerns/base/_related_files.html.erb
curation_concerns-0.4.0 app/views/curation_concerns/base/_related_files.html.erb
curation_concerns-0.3.0 app/views/curation_concerns/base/_related_files.html.erb
curation_concerns-0.2.0 app/views/curation_concerns/base/_related_files.html.erb