Sha256: 379bbb77df1574e10894007031fe1775dd31bdb37f306a0c9a7321cc788709a4

Contents?: true

Size: 801 Bytes

Versions: 13

Compression:

Stored size: 801 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_concerns/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

13 entries across 13 versions & 1 rubygems

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