Sha256: 4d6c4bd107d2879448dcdc5bd055809bab6cf019d06c330dac181e2059e4b24a

Contents?: true

Size: 809 Bytes

Versions: 11

Compression:

Stored size: 809 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>Filename</th>
        <th>Date Uploaded</th>
        <th>Visibility</th>
        <th>Actions</th>
      </tr>
    </thead>
    <tbody>
      <%= render partial: 'geo_concerns/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 a File" button below.</em></p>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
geo_concerns-0.3.4 app/views/geo_concerns/related/_external_metadata_files.html.erb
geo_concerns-0.3.3 app/views/geo_concerns/related/_external_metadata_files.html.erb
geo_concerns-0.3.2 app/views/geo_concerns/related/_external_metadata_files.html.erb
geo_concerns-0.3.1 app/views/geo_concerns/related/_external_metadata_files.html.erb
geo_concerns-0.3.0 app/views/geo_concerns/related/_external_metadata_files.html.erb
geo_concerns-0.2.0 app/views/geo_concerns/related/_external_metadata_files.html.erb
geo_concerns-0.1.1 app/views/geo_concerns/related/_external_metadata_files.html.erb
geo_concerns-0.1.0 app/views/geo_concerns/related/_external_metadata_files.html.erb
geo_concerns-0.0.10 app/views/geo_concerns/related/_external_metadata_files.html.erb
geo_concerns-0.0.9 app/views/geo_concerns/related/_external_metadata_files.html.erb
geo_concerns-0.0.8 app/views/geo_concerns/related/_external_metadata_files.html.erb