Sha256: a36a00b2b7f781e147fd4ce47237061d02ebb9266d4b8aeaaf797c76f1b1e084

Contents?: true

Size: 761 Bytes

Versions: 3

Compression:

Stored size: 761 Bytes

Contents

<% if @presenter.vector_file_presenters.present? %>
<div class="panel panel-default related_files">
  <div class="panel-heading">
    <h2>Vector 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.vector_file_presenters %>
    </tbody>
  </table>
</div>
<% elsif can? :edit, @presenter.id %>
  <h2>Vector Files</h2>
  <p class="center"><em>This <%= @presenter.human_readable_type %> doesn't have a vector 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/vector_works/_related_vector_files.html.erb
geo_concerns-0.0.2 app/views/curation_concerns/vector_works/_related_vector_files.html.erb
geo_concerns-0.0.1 app/views/curation_concerns/vector_works/_related_vector_files.html.erb