Sha256: 66651c672a3bd84434041eb5a2ae934fef3798cb511f3edadcd987fa397783a8
Contents?: true
Size: 897 Bytes
Versions: 22
Compression:
Stored size: 897 Bytes
Contents
<%- if manifestation.bookmarks.exists? -%> <ul> <%- manifestation.bookmarks.each do |bookmark| -%> <% if bookmark.shared? %> <li><%= link_to bookmark.user.username, bookmark -%> <%- bookmark.tags.each do |tag| -%> [<%= link_to tag.name, manifestations_path(:tag => tag.name) -%>] <%- end -%> <%= bookmark.note -%> <%- if user_signed_in? and current_user == bookmark.user -%> <%= link_to image_tag('icons/page_edit.png', :alt => t('page.edit')), edit_bookmark_path(bookmark) -%> <%- end -%> </li> <%- end -%> <%- end -%> </ul> <%- else -%> <p> <%= t('bookmark.not_bookmarked') -%> <%- if user_signed_in? -%> <%= link_to t('bookmark.add_to_my_bookmark'), new_bookmark_path(:bookmark => {:url => manifestation_url(manifestation)}) -%> <%- end -%> </p> <%- end -%>
Version data entries
22 entries across 22 versions & 1 rubygems