Sha256: 02751335f2d3fef4d0c59cc1d48fde1824f6dafebc29451019820163b66249be

Contents?: true

Size: 1.98 KB

Versions: 1

Compression:

Stored size: 1.98 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 'ComfortableMediaSurfer', 'https://github.com/shakacode/comfortable-media-surfer', target: '_blank'
  %span.version= ComfortableMediaSurfer::VERSION
  %br
  = link_to 'Rails', 'https://rubyonrails.org', target: '_blank'
  %span.version= Rails::version
  = link_to 'Ruby', 'https://www.ruby-lang.org', target: '_blank'
  %span.version= RUBY_VERSION
  %br
  = Rails.env.upcase + ' - ' + ActiveRecord::Base.connection.adapter_name

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfortable_media_surfer-3.0.0 app/views/layouts/comfy/admin/cms/_left.html.haml