Sha256: 2d005d8fbd682a0fd726146ca8fa66b9e53a7f28dd6b9bd3f5580e4e9c487e56
Contents?: true
Size: 1.22 KB
Versions: 62
Compression:
Stored size: 1.22 KB
Contents
.taxon-select{ data: { taxon_selected: taxon.try(:id).to_s } } - if taxon.present? .menu-editor.menu-editor--full-width .menu-editor__menu .menu-editor__head %ul.menu-editor__breadcrumbs - taxon.ancestors_and_self.each do |ancestor| %li.menu-editor__breadcrumbs-node %span.menu-editor__head-label= link_to ancestor.name, select_navigation_taxon_path(ancestor) - unless taxon.ancestors_and_self. last == ancestor = inline_svg('workarea/admin/icons/navigate_next.svg', class: 'menu-editor__icon') %ul.menu-editor__menu-list - taxon.children.each do |child| %li.menu-editor__list-item = link_to select_navigation_taxon_path(child), class: 'menu-editor__menu-link' do = taxon_icon(child, class: 'menu-editor__icon menu-editor__icon--link') %span.menu-editor__menu-link-text= child.name - if child.has_children? = inline_svg 'workarea/admin/icons/navigate_next.svg', class: 'menu-editor__icon menu-editor__icon--link menu-editor__icon menu-editor__icon--parent' - else %p= t('workarea.admin.navigation_taxons.select.none_selected')
Version data entries
62 entries across 62 versions & 1 rubygems