Sha256: fc2fca6f209def9bef7ad5db02e9d21367fef4a1c062c01c6f2024837169ee25

Contents?: true

Size: 528 Bytes

Versions: 48

Compression:

Stored size: 528 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

48 entries across 48 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre36 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre35 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre34 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre33 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre32 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre31 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre30 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre29 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre28 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre27 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre26 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre25 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre24 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre23 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre22 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre21 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre20 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre19 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre18 app/views/checkouts/index.html.erb
enju_circulation-0.1.0.pre17 app/views/checkouts/index.html.erb