Sha256: 9b6fa630cfcc49e2be83033edc69d078e88b81df3589b1fae5e914f40b58db73

Contents?: true

Size: 1.59 KB

Versions: 45

Compression:

Stored size: 1.59 KB

Contents

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

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

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

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

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

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.models.user') -%></th>
    <th><%= t('activerecord.attributes.reserve_stat_has_user.reserves_count') -%></th>
  </tr>
  <%- @stats.each do |stat| -%>
    <tr class="line<%= cycle("0", "1") -%>">
      <td>
        <%= link_to stat.user.username, stat.user.profile if stat.user.try(:profile) -%>
      </td>
      <td><%= stat.reserves_count -%></td>
    </tr>
  <%- end -%>
</table>

<%= paginate(@stats) -%>
</div>
</div>

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

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
enju_circulation-0.3.11 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.10 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.9 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.4.0.rc.1 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.8 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.7 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.4.0.beta.4 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.4.0.beta.3 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.6 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.4.0.beta.2 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.4.0.beta.1 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.5 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.4 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.3 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.2 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.1 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.0 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.0.rc.1 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.3.0.beta.1 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.2.5 app/views/user_reserve_stats/show.html.erb