Sha256: df15f1d41d4884422664cc69f240324d387204e9224ee112bae2714e3cf030c8
Contents?: true
Size: 1.28 KB
Versions: 2
Compression:
Stored size: 1.28 KB
Contents
li id="node-#{page._id}" class=page.class_names - url = page.redirect? ? edit_page_path(current_site, page) : editable_elements_path(current_site, page) = link_to url do - if page.draggable? i class="fa fa-bars icon #{page.draggable}" - else i class="fa fa-file-text-o" span.text style="#{page.text_inline_style}" = page.title - unless page.translated? i.fa.fa-globe.untranslated - if page.children? ul.sidebar-sublist.leaves data-url=sort_page_path(current_site, page) = render partial: 'locomotive/shared/sidebar/page', collection: page.nodes - if page.templatized_children? && !page.templatized? li.list-entries = link_to content_entries_path(current_site, page.templatized_page.content_type.slug) do i.fa.fa-list-ul.icon span.text style="#{page.deeper_text_inline_style}"= t(:list_content_entries, name: page.content_type.name.pluralize, scope: 'locomotive.pages.index') li.new-entry.sidebar-list-add = link_to new_content_entry_path(current_site, page.templatized_page.content_type.slug) do i.fa.fa-plus.icon span.text style="#{page.deeper_text_inline_style}"= t(:new_content_entry, name: page.content_type.name.singularize, scope: 'locomotive.pages.index')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
locomotivecms-3.2.0.rc2 | app/views/locomotive/shared/sidebar/_page.html.slim |
locomotivecms-3.2.0.rc1 | app/views/locomotive/shared/sidebar/_page.html.slim |