Sha256: 155c7982efcc45fb98e27964e768fa98c59e01f064082843a6d45956abf14a48

Contents?: true

Size: 837 Bytes

Versions: 5

Compression:

Stored size: 837 Bytes

Contents

div[data-role="header"]
  a.ui-btn-left[href="javascript:history.back()" data-icon="back" data-iconpos="notext"]
    = t('page.back')
  .panel-heading
    = @shelf.display_name
  div[data-role="content"]
    #detail
      - if current_user.try(:has_role?, 'Librarian')
        p
          strong
            = t('activerecord.attributes.shelf.name')
            | :
          = @shelf.name
      p
        strong
          = t('activerecord.attributes.shelf.closed')
          | :
        = localized_boolean(@shelf.closed)
      p
        strong
          = t('activerecord.attributes.shelf.note')
          | :
        = @shelf.note
      p
        strong
          = t('page.created_at')
          | :
        = l(@shelf.created_at)
      p
        strong
          = t('page.updated_at')
          | :
        = l(@shelf.updated_at)

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.slim
enju_library-0.4.0.beta.4 app/views/shelves/show.html+phone.slim
enju_library-0.4.0.beta.3 app/views/shelves/show.html+phone.slim
enju_library-0.4.0.beta.2 app/views/shelves/show.html+phone.slim
enju_library-0.4.0.beta.1 app/views/shelves/show.html+phone.slim