app/views/locomotive/shared/sidebar/_page.html.slim in locomotivecms-3.1.2 vs app/views/locomotive/shared/sidebar/_page.html.slim in locomotivecms-3.2.0.rc1

- old
+ new

@@ -12,18 +12,18 @@ - unless page.translated? i.fa.fa-globe.untranslated - if page.children? ul.sidebar-sublist.leaves data-url=sort_page_path(current_site, page) - - unless page.content_type && page.nodes.count == 1 - = render partial: 'locomotive/shared/sidebar/page', collection: page.nodes - - if page.content_type + = 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-bars.icon - span.text= t(:list_content_entries, name: page.content_type.name.pluralize, scope: 'locomotive.pages.index') + 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= t(:new_content_entry, name: page.content_type.name.singularize, scope: 'locomotive.pages.index') + span.text style="#{page.deeper_text_inline_style}"= t(:new_content_entry, name: page.content_type.name.singularize, scope: 'locomotive.pages.index')