Sha256: e34b99c8761cb3ef0bf539e546ace063015f4edc9505b34f5b9c85f00d7e7365
Contents?: true
Size: 743 Bytes
Versions: 9
Compression:
Stored size: 743 Bytes
Contents
<% if manifestation.items.available_for(current_user).count >= 1 %> <div id="holding_link_<%= manifestation.id %>"> (<%= link_to t('page.holding'), manifestation_path(manifestation), remote: true %>) </div> <% end %> <% if defined?(EnjuBookmark) %> <%- if manifestation.tags.first -%> (<%= link_to "#", { onclick: "$('#tag_#{manifestation.id}').toggle(); return false;" } do t('activerecord.models.tag') end %>) <%- end -%> <%= render 'manifestations/show_tag', manifestation: manifestation -%> <% end %> <div id="holding_<%= manifestation.id -%>"></div> <%- if can? :create, Item -%> <p><%= link_to t('page.new', model: t('activerecord.models.item')), new_item_path(manifestation_id: manifestation.id) -%></p> <%- end -%>
Version data entries
9 entries across 9 versions & 1 rubygems