Sha256: 2b55b75230de8914c0f8cec058a30f624251d79940bc8ac4a58d90828a03dc4e

Contents?: true

Size: 858 Bytes

Versions: 3

Compression:

Stored size: 858 Bytes

Contents

- content_for :menu_items do
  .menu_item= link_to t(".frontpage"), root_path
  .menu_item= link_to FamilyGallery::Group.model_name.human(count: 2), groups_path if can? :index, FamilyGallery::Group
  .menu_item= link_to t(".translations"), awesome_translations_path if Rails.env.development?
  .menu_item= link_to FamilyGallery::User.model_name.human(count: 2), users_path if can? :index, FamilyGallery::User
  .menu_item= link_to t(".language"), new_locale_path
  .menu_item
    - if signed_in?
      = link_to t(".sign_out"), destroy_family_gallery_user_session_path, method: :delete
    - else
      = link_to t(".sign_in"), new_family_gallery_user_session_path

- content_for :head do
  = stylesheet_link_tag "family_gallery/application_mobile"
  = javascript_include_tag "family_gallery/application_mobile"

= render "layouts/light_mobile_basic_layout"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
family_gallery-0.0.8 app/views/layouts/family_gallery/application.mobile.haml
family_gallery-0.0.7 app/views/layouts/family_gallery/application.mobile.haml
family_gallery-0.0.6 app/views/layouts/family_gallery/application.mobile.haml