Sha256: 1d2f30cd5896861d54f883cfa0f7d1f4d3e4cb70be3529e3988eca0166912261

Contents?: true

Size: 798 Bytes

Versions: 5

Compression:

Stored size: 798 Bytes

Contents

<% if presenter.geo_file_set_presenters.present? %>
<div class="panel panel-default related_files">
  <div class="panel-heading">
    <h2><%= geo_work_type(presenter) %> 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: 'geo_works/member', collection: @presenter.geo_file_set_presenters %>
    </tbody>
  </table>
</div>
<% elsif can? :edit, presenter.id %>
  <h2><%= geo_work_type(presenter) %> File</h2>
  <p class="center"><em>This <%= presenter.human_readable_type %> doesn't have an <%= geo_work_type(presenter).downcase %> file associated with it.</em></p>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

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