Sha256: fd89b6de95e348943aa49e58e7bce8925fbdd253ca0f0a744d7c64210f8727a5

Contents?: true

Size: 1011 Bytes

Versions: 3

Compression:

Stored size: 1011 Bytes

Contents

<% if presenter.vector_work_presenters.present? %>
  <div class="panel panel-default raster_works">
    <div class="panel-heading">
      <h2>Vector Works</h2>
    </div>
    <table class="table">
      <thead>
        <tr>
          <th class="col-xs-3"></th>
          <th>Work Name</th>
        </tr>
      </thead>
      <tbody>
        <% presenter.vector_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_vector_work_path(res.id) %>
            </td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
<% elsif can? :edit, presenter.id %>
  <h2>Vector Works</h2>
  <p class="center"><em>This <%= @presenter.human_readable_type %> has no vector works associated with it. You can add one using the "Attach a Vector 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/raster_works/_members.html.erb
geo_concerns-0.0.2 app/views/curation_concerns/raster_works/_members.html.erb
geo_concerns-0.0.1 app/views/curation_concerns/raster_works/_members.html.erb