app/views/opac/checkouts/show.html.erb
<div id="opac_content_header">
<div id="opac_content">
<div class="opac_title">
<h1><%= t('page.showing', :model => t('activerecord.models.checkout')) %></h1>
</div>
<div class="opac_head_button_area">
<div class="opac_head_button"><%= link_to t('page.listing', :model => t('activerecord.models.checkout')), user_checkouts_path(current_user, :opac => true) %></div>
<div class="opac_head_button"><%= link_to t('page.showing', :model => t('activerecord.models.manifestation')), manifestation_path(@checkout.item.manifestation, :opac => true) %></div>
<div class="opac_head_button"><%= link_to t('opac.finish'), opac_path %> </div>
</div>
</div>
</div>
<div id="opac_content">
<p id="notice"><%= notice %></p>
<%= render 'opac/manifestations/manifestation_info', :manifestation => @checkout.item.manifestation %>
<% if @checkout.checkout_renewable?(current_user) %>
<div id="opac_button_200"><%= link_to t('checkout.renewal'), edit_user_checkout_path(@checkout.user, @checkout, :opac => true) %></div>
<br style="clear: both;"/>
<% else %>
<div style="color: red;">
<%= t('checkout.this_item_cant_be_renewed') %>
<% if @checkout.due_date < Date.today %>
<br />
<%= t('opac.checkouts.overdue_item') %>
<% end %>
</div>
<% end %>
<table id="opac_detail_table" style="clear: both;">
<tr>
<td class="opac_checkout_table_column"><%= t('activerecord.attributes.item.item_identifier') %>:</td>
<td><%= @checkout.item.item_identifier %></td>
</tr>
<tr>
<td class="opac_checkout_table_column"><%= t('activerecord.attributes.checkout.renewal_count')%>: </td>
<td><%= @checkout.checkout_renewal_count -%> / <%= @checkout.item.checkout_status(@checkout.user).checkout_renewal_limit %></td>
</tr>
<tr>
<td class="opac_checkout_table_column"><%= t('opac.checkouts.checkout_at') %>:</td>
<td><%= l(@checkout.created_at, :format => :only_date) %></td>
</tr>
<tr>
<td class="opac_checkout_table_column"><%= t('activerecord.attributes.checkout.due_date') %>:</td>
<td><%= l(@checkout.due_date, :format => :only_date) if @checkout.due_date %></td>
</tr>
</table>
</div>