Sha256: 4fa64967fd4142d6a414523c9a018892e96191c34d8a6be55c1d87c146f60da9

Contents?: true

Size: 788 Bytes

Versions: 2

Compression:

Stored size: 788 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: '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

2 entries across 2 versions & 1 rubygems

Version Path
geo_concerns-0.0.5 app/views/geo_concerns/_related_geo_files.html.erb
geo_concerns-0.0.4 app/views/geo_concerns/_related_geo_files.html.erb