Sha256: 7b89bf9868bcc0aa73bbbd0b300003752b2dd2c71ffa122ba7daee6a44f1597d

Contents?: true

Size: 1.36 KB

Versions: 99

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? :destroy, @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

99 entries across 99 versions & 2 rubygems

Version Path
enju_circulation-0.1.0.pre14 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre13 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre12 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre11 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre10 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre9 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre8 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre7 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre6 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre5 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre4 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre3 app/views/checkouts/show.html.erb
enju_circulation-0.1.0.pre2 app/views/checkouts/show.html.erb
enju_circulation-0.0.69 app/views/checkouts/show.html.erb
enju_circulation-0.0.68 app/views/checkouts/show.html.erb
enju_circulation-0.0.67 app/views/checkouts/show.html.erb
enju_circulation-0.0.66 app/views/checkouts/show.html.erb
enju_circulation-0.0.65 app/views/checkouts/show.html.erb
enju_message-0.1.9 app/views/checkouts/show.html.erb
enju_circulation-0.0.64 app/views/checkouts/show.html.erb