Sha256: d0d2ccef52e063e5eb17991857cc483ad7afe8ae085e8c71ed7c332762b5de41

Contents?: true

Size: 820 Bytes

Versions: 6

Compression:

Stored size: 820 Bytes

Contents

<% if presenter.external_metadata_file_set_presenters.present? %>
<div class="panel panel-default related_files">
  <div class="panel-heading">
    <h2>Metadata 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: 'geo_works/related/external_metadata_file_member', collection: presenter.external_metadata_file_set_presenters %>
    </tbody>
  </table>
</div>
<% elsif can? :edit, presenter.id %>
  <h2>Metadata Files</h2>
  <p class="center"><em>This <%= presenter.human_readable_type %> has no metadata files associated with it. You can add one using the "Attach File" button.</em></p>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
geo_works-0.2.0 app/views/geo_works/related/_external_metadata_files.html.erb
geo_works-0.1.4 app/views/geo_works/related/_external_metadata_files.html.erb
geo_works-0.1.3 app/views/geo_works/related/_external_metadata_files.html.erb
geo_works-0.1.2 app/views/geo_works/related/_external_metadata_files.html.erb
geo_works-0.1.1 app/views/geo_works/related/_external_metadata_files.html.erb
geo_works-0.1.0 app/views/geo_works/related/_external_metadata_files.html.erb