Sha256: 6dbe4a9eb3b841addc7e9e9ee9f62414fbfde11c051796fb4b56f75ba583074d
Contents?: true
Size: 1.41 KB
Versions: 16
Compression:
Stored size: 1.41 KB
Contents
<div id="content_detail" class="ui-corner-all ui-widget-content"> <h1 class="title"><%= t('page.showing', model: t('activerecord.models.checkout')) -%></h1> <div id="content_list"> <p id="notice"><%= notice %></p> <%= render 'manifestations/title', manifestation: @checkout.item.manifestation -%> <p> <strong><%= t('activerecord.attributes.item.item_identifier') -%></strong><br /> <%= link_to @checkout.item.item_identifier, @checkout.item -%> </p> <p> <strong><%= t('activerecord.attributes.checkout.due_date') -%></strong><br /> <%= l(@checkout.due_date, format: :only_date) if @checkout.due_date -%> </p> <%- if can? :update, @checkout -%> <p> <strong><%= t('checkout.current_user') -%></strong><br /> <%= link_to @checkout.user_username, @checkout.user.profile if @checkout.user.try(:profile) -%> </p> <%- end -%> </div> </div> <div id="submenu" class="ui-corner-all ui-widget-content"> <%= render 'manifestations/book_jacket', manifestation: @checkout.item.manifestation -%> <ul> <li><%= link_to t('page.edit'), edit_checkout_path(@checkout) -%></li> <% if @checkout.user %> <li><%= link_to t('page.back'), checkouts_path(user_id: @checkout.user.username) -%></li> <% end %> <%- if current_user.has_role?('Librarian') -%> <li><%= link_to t('page.back_to', model: t('activerecord.models.checkout')), checkouts_path -%></li> <%- end -%> </ul> </div>
Version data entries
16 entries across 16 versions & 1 rubygems