Sha256: e1cb5e00dbfb54d5fdfe6b86d925f37c1e98ec09cd8d401ec90c061f1ef93959
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 KB
Contents
<% if presenter.work_presenters.present? %> <div class="panel panel-default raster_works"> <div class="panel-heading"> <h2><%= child_geo_works_type(presenter) %> Works</h2> </div> <table class="table"> <thead> <tr> <th class="col-xs-3"></th> <th>Work Name</th> </tr> </thead> <tbody> <% presenter.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.first, contextual_path(res, @presenter) %> </td> </tr> <% end %> </tbody> </table> </div> <% elsif can? :edit, presenter.id %> <% if child_geo_works_type(presenter) %> <h2><%= child_geo_works_type(presenter) %> Works</h2> <p class="center"><em>This <%= presenter.human_readable_type %> has no <%= child_geo_works_type(presenter).downcase %> works associated with it.</em></p> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geo_concerns-0.0.7 | app/views/geo_concerns/_related_geo_works.html.erb |
geo_concerns-0.0.6 | app/views/geo_concerns/_related_geo_works.html.erb |