Sha256: 7aae2b62bba09a548765c4914d0a83b223dba36d08735ad5e2b7555f2abd2c6e

Contents?: true

Size: 1.68 KB

Versions: 17

Compression:

Stored size: 1.68 KB

Contents

= comfy_admin_partial "comfy/admin/cms/partials/navigation_before"

%nav.navbar.navbar-expand-lg
  %button.navbar-toggler{type: "button", data: {toggle:"collapse", target: "#leftnav"}, aria: {controls: "navbarSupportedContent", expanded: "false", label: "Toggle navigation"}}
    %i.fas.fa-bars

  #leftnav.navbar-collapse.collapse

    %ul.nav.nav-pills
      %li.nav-item
        = active_link_to comfy_admin_cms_sites_path, class: "nav-link", active: ['comfy/admin/cms/sites'] do
          = t('comfy.admin.cms.base.sites')

      - if @site && !@site.new_record?
        %li.nav-item
          = active_link_to comfy_admin_cms_site_layouts_path(@site), class: "nav-link" do
            = t('comfy.admin.cms.base.layouts')
        %li.nav-item
          = active_link_to comfy_admin_cms_site_pages_path(@site), class: "nav-link" do
            = t('comfy.admin.cms.base.pages')
        %li.nav-item
          = active_link_to comfy_admin_cms_site_snippets_path(@site), class: "nav-link" do
            = t('comfy.admin.cms.base.snippets')
        %li.nav-item
          - unless is_active_link?(comfy_admin_cms_site_files_path(@site))
            %a.cms-files-open-modal{href: comfy_admin_cms_site_files_path(@site), title: "Open library"}
              %i.fas.fa-bars
          = active_link_to comfy_admin_cms_site_files_path(@site), class: "nav-link" do
            = t('comfy.admin.cms.base.files')

      = cms_hook :navigation

      = comfy_admin_partial "comfy/admin/cms/partials/navigation_inner"

= comfy_admin_partial "comfy/admin/cms/partials/navigation_after"

.left-footer
  = link_to 'ComfortableMexicanSofa', 'https://github.com/comfy', target: '_blank'
  %span.version= ComfortableMexicanSofa::VERSION

Version data entries

17 entries across 17 versions & 6 rubygems

Version Path
comfortable_mexican_sofa-2.0.19 app/views/layouts/comfy/admin/cms/_left.html.haml
PixelForce_ETS-0.0.2 app/views/layouts/comfy/admin/cms/_left.html.haml
PixelForce_ETS-0.0.1 app/views/layouts/comfy/admin/cms/_left.html.haml
kcyEtsTest2-0.0.4 app/views/layouts/comfy/admin/cms/_left.html.haml
kcyEtsTest2-0.0.3 app/views/layouts/comfy/admin/cms/_left.html.haml
kcyEtsTest2-0.0.2 app/views/layouts/comfy/admin/cms/_left.html.haml
kcyEtsTest2-0.0.1 app/views/layouts/comfy/admin/cms/_left.html.haml
kcyEtsTest-0.0.1 app/views/layouts/comfy/admin/cms/_left.html.haml
kcyEtsTest-2.2.19 app/views/layouts/comfy/admin/cms/_left.html.haml
ComfortableMexicanSofa-2.0.18 app/views/layouts/comfy/admin/cms/_left.html.haml
kcy1-1.0 app/views/layouts/comfy/admin/cms/_left.html.haml
comfortable_mexican_sofa-2.0.18 app/views/layouts/comfy/admin/cms/_left.html.haml
comfortable_mexican_sofa-2.0.17 app/views/layouts/comfy/admin/cms/_left.html.haml
comfortable_mexican_sofa-2.0.16 app/views/layouts/comfy/admin/cms/_left.html.haml
comfortable_mexican_sofa-2.0.15 app/views/layouts/comfy/admin/cms/_left.html.haml
comfortable_mexican_sofa-2.0.14 app/views/layouts/comfy/admin/cms/_left.html.haml
comfortable_mexican_sofa-2.0.13 app/views/layouts/comfy/admin/cms/_left.html.haml