Sha256: c60f511dd6887ade454fab71a29713b5e8637741469fa358f678b2ce27b51655

Contents?: true

Size: 1.36 KB

Versions: 5

Compression:

Stored size: 1.36 KB

Contents

<div id="content_detail" class="ui-corner-all">
<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 if @checkout.user -%>
    </p>
  <%- end -%>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <%= 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'), user_checkouts_path(@checkout.user) -%></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

5 entries across 5 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre35 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre34 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre33 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre32 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre31 app/views/checkouts/show.html.erb