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

Version Path
workarea-admin-3.5.27 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.4.45 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/navigation_taxons/_select.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/navigation_taxons/_select.html.haml