Sha256: 9b425c3cfcdf107867bd964a8ee703fb2b61943564418b6a0750ed1afafa685a

Contents?: true

Size: 519 Bytes

Versions: 16

Compression:

Stored size: 519 Bytes

Contents

<%- if current_user.has_role?('Librarian') -%>
  <%- if @user -%>
    <%= render 'index_user', user: @user -%>
  <% elsif @item %>
    <%= render 'index_item', item: @item -%>
  <% else %>
    <%- if params[:view] == 'overdue' -%>
      <%= render 'index_overdue' -%>
    <%- else -%>
      <%= render 'index' -%>
    <% end %>
  <% end %>
<% else %>
  <%- if params[:view] == 'overdue' -%>
    <%= render 'index_overdue' -%>
  <%- else -%>
    <%= render 'index_user', user: current_user -%>
  <%- end -%>
<%- end -%>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
enju_circulation-0.1.2 app/views/checkouts/index.html.erb
enju_circulation-0.1.1 app/views/checkouts/index.html.erb
enju_circulation-0.1.0 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre49 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre48 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre47 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre46 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre45 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre44 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre43 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre42 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre41 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre40 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre39 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre38 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre37 app/views/checkouts/index.html.erb