Sha256: d0ec1c7533ed7258f4dbbf17dee7a9cfee5c0a0bd3d2bdb0e5373f6134087866

Contents?: true

Size: 1.11 KB

Versions: 6

Compression:

Stored size: 1.11 KB

Contents

.navbar.navbar-inverse.navbar-fixed-top
  .navbar-inner.nav-height
    .navbar-container
      %button.btn.btn-navbar{'type' => 'button', 'data-toggle' => 'collapse', 'data-target' => '.nav-collapse'}
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
      %a.brand{'href' => '#'}= t('cms.fortress.title')
      .nav-collapse.collapse
        %ul.nav
          - if @site && !@site.new_record?
            - if can? :view, 'contents'
              = topnav_item t("cms.fortress.contents"), cms_fortress_contents_path, content_page?

            - if can? :view, 'designs'
              = topnav_item t("cms.fortress.design"), cms_fortress_design_path, design_page?

          - if can? :view, 'settings'
            = topnav_item t("cms.fortress.settings"), cms_fortress_settings_path, admin_page?

          = render 'cms/fortress/admin/topnav'
        %ul.nav.nav-pill.pull-right
          - if current_cms_fortress_user
            %li
              = link_to "#{ current_cms_fortress_user.email } ::", "#"
            %li
              = link_to "Logout", destroy_cms_fortress_user_session_path, :method => 'delete'


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cms-fortress-1.1.1 app/views/cms/fortress/shared/_admin_topnav.html.haml
cms-fortress-1.1.0 app/views/cms/fortress/shared/_admin_topnav.html.haml
cms-fortress-1.0.12 app/views/cms/fortress/shared/_admin_topnav.html.haml
cms-fortress-1.0.9 app/views/cms/fortress/shared/_admin_topnav.html.haml
cms-fortress-1.0.8 app/views/cms/fortress/shared/_admin_topnav.html.haml
cms-fortress-1.0.7 app/views/cms/fortress/shared/_admin_topnav.html.haml