Sha256: 24e592d19f935cea11ee2ff7e76024eb55f3866ea1f97cf75d79e64de31501eb

Contents?: true

Size: 824 Bytes

Versions: 1

Compression:

Stored size: 824 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>Geometry</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

1 entries across 1 versions & 1 rubygems

Version Path
geo_works-0.2.0 app/views/geo_works/related/_geo_files.html.erb