Sha256: 141b97f16d0a2a9b9026b9cd1a86025f847399fa6d563f9140935b756c7891b0

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 KB

Contents

= render 'locomotive/shared/sidebar/my_account'

- cache(cache_key_for_sidebar) do

  = render 'locomotive/shared/sidebar/link', icon: 'fa-dashboard', label: t('.dashboard'), url: dashboard_path(current_site)

  - cache(cache_key_for_sidebar_pages) do
    = render_pages

  - cache(cache_key_for_sidebar_content_types) do
    = render 'locomotive/shared/sidebar/content_types'

  = render 'locomotive/shared/sidebar/link', icon: 'fa-picture-o', label: t('.assets'), url: content_assets_path(current_site)

  - if current_site.localized?
    = render 'locomotive/shared/sidebar/link', icon: 'fa-globe', label: t('.translations'), url: translations_path(current_site)

  = render 'locomotive/shared/sidebar/link', icon: 'fa-gear', label: t('.settings'), url: edit_current_site_path(current_site)

  - if policy(current_site).show_developers_documentation?
    = render 'locomotive/shared/sidebar/link', icon: 'fa-book', label: t('.developers'), url: developers_documentation_path(current_site)

  = render 'locomotive/shared/sidebar/link', icon: 'fa-suitcase', label: t(:sites, scope: 'locomotive.shared.header'), url: sites_path, section_class: 'visible-xs-block'

  = render 'locomotive/shared/sidebar/link', icon: 'fa-sign-out', label: t(:logout, scope: 'locomotive.shared.header'), url: sign_out_path, data: { method: 'delete' }, section_class: 'visible-xs-block'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
locomotivecms-3.0.1 app/views/locomotive/shared/_sidebar.html.slim
locomotivecms-3.0.0 app/views/locomotive/shared/_sidebar.html.slim
locomotivecms-3.0.0.rc7 app/views/locomotive/shared/_sidebar.html.slim
locomotivecms-3.0.0.rc6 app/views/locomotive/shared/_sidebar.html.slim
locomotivecms-3.0.0.rc5 app/views/locomotive/shared/_sidebar.html.slim
locomotivecms-3.0.0.rc4 app/views/locomotive/shared/_sidebar.html.slim