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

Version Path
enju_biblio-0.1.3 app/views/manifestations/_holding.html.erb
enju_biblio-0.1.2 app/views/manifestations/_holding.html.erb
enju_biblio-0.1.1 app/views/manifestations/_holding.html.erb
enju_biblio-0.1.0 app/views/manifestations/_holding.html.erb
enju_biblio-0.1.0.pre71 app/views/manifestations/_holding.html.erb
enju_biblio-0.1.0.pre70 app/views/manifestations/_holding.html.erb
enju_biblio-0.1.0.pre69 app/views/manifestations/_holding.html.erb
enju_biblio-0.1.0.pre68 app/views/manifestations/_holding.html.erb
enju_biblio-0.1.0.pre67 app/views/manifestations/_holding.html.erb