Sha256: f0a9f5879c9a6b1ce8452f3f5d6c1139a1ac65bf18e2f0d4df3c6287e7574628

Contents?: true

Size: 851 Bytes

Versions: 5

Compression:

Stored size: 851 Bytes

Contents

<div data-role="header">
  <a href="javascript:history.back()" data-icon="back" data-iconpos="notext" class="ui-btn-left"><%= t('page.back') %></a>
  <h1 class="title"><%= @shelf.display_name -%></h1>
</div>
<div data-role="content">
  <div id="detail">
  <% if current_user.try(:has_role?, 'Librarian') %>
    <p>
      <strong><%= t('activerecord.attributes.shelf.name') -%>:</strong>
      <%= @shelf.name %>
    </p>
  <% end %>

<p>
  <strong><%= t('activerecord.attributes.shelf.closed') -%>:</strong>
  <%= localized_boolean(@shelf.closed) -%>
</p>

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

<p>
  <strong><%= t('page.created_at') -%>:</strong>
  <%= l(@shelf.created_at) -%>
</p>

<p>
  <strong><%= t('page.updated_at') -%>:</strong>
  <%= l(@shelf.updated_at) -%>
</p>

</div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enju_library-0.4.0.rc.1 app/views/shelves/show.html+phone.erb
enju_library-0.4.0.beta.4 app/views/shelves/show.html+phone.erb
enju_library-0.4.0.beta.3 app/views/shelves/show.html+phone.erb
enju_library-0.4.0.beta.2 app/views/shelves/show.html+phone.erb
enju_library-0.4.0.beta.1 app/views/shelves/show.html+phone.erb