Sha256: 2f9796fc954a898d37a97948ab1277d8ad409c1210dd5d7e2fa26c6d7f004b3b

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<h1 class="title"><%= t('page.showing', model: t('activerecord.models.manifestation_checkout_stat')) -%></h1>
<div id="content_list">
<p id="notice"><%= notice %></p>

<p>
  <strong><%= t('activerecord.attributes.manifestation_checkout_stat.start_date') -%>:</strong>
  <%= l(@manifestation_checkout_stat.start_date) -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.manifestation_checkout_stat.end_date') -%>:</strong>
  <%= l(@manifestation_checkout_stat.end_date) -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.manifestation_checkout_stat.state') -%>:</strong>
  <%= localized_state(@manifestation_checkout_stat.current_state) -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.manifestation_checkout_stat.note') -%>:</strong>
  <%= @manifestation_checkout_stat.note -%>
</p>

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.models.manifestation') -%></th>
    <th><%= t('activerecord.attributes.checkout_stat_has_manifestation.checkouts_count') -%></th>
  </tr>
  <%- @stats.each do |stat| -%>
    <tr class="line<%= cycle("0", "1") -%>">
      <td>
        <%= render 'manifestations/show_index', manifestation: stat.manifestation if stat.manifestation -%>
      </td>
      <td><%= stat.checkouts_count -%></td>
    </tr>
  <%- end -%>
</table>

<%= paginate(@stats) -%>

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <%= form_for(@manifestation_checkout_stat) do |f| %>
  <ul>
    <li><%= back_to_index(flash[:page_info]) -%></li>
  </ul>
  <% end %>
  <h4><%= t('page.export') -%></h4>
  <ul>
    <li><%= link_to 'TSV', manifestation_checkout_stat_path(@manifestation_checkout_stat, format: :txt, locale: @locale.to_s) -%></li>
  </ul>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre38 app/views/manifestation_checkout_stats/show.html.erb
enju_circulation-0.1.0.pre37 app/views/manifestation_checkout_stats/show.html.erb