Sha256: ed997341f67d93a2cdfe4e2f569ba365f5ca9124d8fecd18a4c8adbc3f0de2df

Contents?: true

Size: 1010 Bytes

Versions: 3

Compression:

Stored size: 1010 Bytes

Contents

<% if presenter.raster_work_presenters.present? %>
  <div class="panel panel-default raster_works">
    <div class="panel-heading">
      <h2>Raster Works</h2>
    </div>
    <table class="table">
      <thead>
        <tr>
          <th class="col-xs-3"></th>
          <th>Work Name</th>
        </tr>
      </thead>
      <tbody>
        <% presenter.raster_work_presenters.each do |res| %>
          <tr class="file_set attributes">
            <td class="thumbnail" style="margin-bottom: 0px">
              <%= render_thumbnail_tag res %>
            </td>
            <td>
              <%= link_to res.title, main_app.curation_concerns_raster_work_path(res.id) %>
            </td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
<% elsif can? :edit, presenter.id %>
  <h2>Raster Works</h2>
  <p class="center"><em>This <%= presenter.human_readable_type %> has no raster works associated with it. You can add one using the "Attach a Raster Work" 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/image_works/_members.html.erb
geo_concerns-0.0.2 app/views/curation_concerns/image_works/_members.html.erb
geo_concerns-0.0.1 app/views/curation_concerns/image_works/_members.html.erb