Sha256: d87108bb39b014a0e6d29680c46fa399a293ffcd16a82f8f7849da5992d36a3c

Contents?: true

Size: 1.56 KB

Versions: 14

Compression:

Stored size: 1.56 KB

Contents

<div id="content_detail" class="ui-corner-all">
<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>
  <%= @user_reserve_stat.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 if stat.user -%>
      </td>
      <td><%= stat.reserves_count -%></td>
    </tr>
  <%- end -%>
</table>

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

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.edit'), edit_user_reserve_stat_path(@user_reserve_stat) -%></li>
    <li><%= back_to_index(flash[:page_info]) -%></li>
  </ul>
  <h4><%= t('page.export') -%></h4>
  <ul>
    <li><%= link_to 'CSV', user_reserve_stat_path(@user_reserve_stat, :format => :csv, :locale => @locale.to_s) -%></li>
  </ul>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre35 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre34 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre33 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre32 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre31 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre30 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre29 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre28 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre27 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre26 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre25 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre24 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre23 app/views/user_reserve_stats/show.html.erb
enju_circulation-0.1.0.pre22 app/views/user_reserve_stats/show.html.erb