Sha256: 2a3ba082a454d18fc691dc297d65953fc470c45b3f4c7373a042e325e0caa9d7

Contents?: true

Size: 645 Bytes

Versions: 9

Compression:

Stored size: 645 Bytes

Contents

.top-nav-tabs-affix-placeholder
  %ul.top-nav-tabs-affix.nav.nav-tabs{ role: "tablist", "data-top-level-affix": true }
    - if can?(:manage, parent_component) && show_component?(parent_component)
      %li{ class: ("active" if active_component == parent_component) }
        = link_to parent_component.path do
          = parent_component.name

    - parent_component.child_components.each do |child_component|
      - next unless can?(:manage, child_component) && show_component?(child_component)

      %li{ class: ("active" if active_component == child_component) }
        = link_to child_component.path do
          = child_component.name

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
para-0.11.4 app/views/para/admin/resources/_navigation.html.haml
para-0.11.3 app/views/para/admin/resources/_navigation.html.haml
para-0.11.2 app/views/para/admin/resources/_navigation.html.haml
para-0.11.1 app/views/para/admin/resources/_navigation.html.haml
para-0.11.0 app/views/para/admin/resources/_navigation.html.haml
para-0.10.0 app/views/para/admin/resources/_navigation.html.haml
para-0.9.4 app/views/para/admin/resources/_navigation.html.haml
para-0.9.3.3 app/views/para/admin/resources/_navigation.html.haml
para-0.9.3.2 app/views/para/admin/resources/_navigation.html.haml