Sha256: d0fbcc817c55ef44c9bf801121c0cceefedecc60249ec49d8438831198518edf

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

.navbar.navbar-inverse.navbar-fixed-top
  .navbar-inner
    .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'
              %li{:class => content_page? ? 'active' : ''}
                = link_to t("cms.fortress.contents"), admin_cms_site_pages_path(@site)

            - if can? :view, 'designs'
              %li{:class => design_page? ? 'active' : ''}
                = link_to t("cms.fortress.design"), admin_cms_site_layouts_path(@site)
          - if can? :view, 'settings'
            %li{:class => admin_page? ? 'active' : ''}
              = link_to t("cms.fortress.settings"), admin_cms_sites_path
        %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

1 entries across 1 versions & 1 rubygems

Version Path
cms-fortress-1.0.4 app/views/cms/fortress/shared/_admin_topnav.html.haml