Sha256: 473e4d8a6147c759432b7e7e01a61b3db8567534c360cd4ff2d5d12ec2373663

Contents?: true

Size: 1.23 KB

Versions: 10

Compression:

Stored size: 1.23 KB

Contents

<div class="process-title">
  <div class="layout-content__container">
    <div class="process-title-content">
      <div class="process-title-content-breadcrumb-container-left">
        <%= link_to decidim_admin.root_path, class: "process-title-content-icon-home", data: { "external-link": false }, aria: { label: "home" } do %>
          <%= icon "home-gear-line" %>
        <% end %>

        <% breadcrumb_items(:admin).each_with_index do |item, i| %>
          <span class="text-white">/</span>
          <% item_label = translated_attribute(item[:label]) %>
          <% if item[:url].present? && !is_active_link?(item[:url], :exclusive) %>
            <%= link_to(item_label, item[:url], class: "process-title-content-breadcrumb", data: { "external-link": false }, "aria-current": (item[:active] ? "page" : nil)) %>
          <% else %>
            <%= content_tag(:span, item_label, tabindex: "0", "aria-current": "page", class: "process-title-content-breadcrumb") %>
          <% end %>
        <% end %>
      </div>
      <% if content_for?(:breadcrumb_context_menu) %>
        <div class="process-title-content-breadcrumb-container-right">
          <%= yield :breadcrumb_context_menu %>
        </div>
      <% end %>
    </div>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-admin-0.29.1 app/views/layouts/decidim/admin/_breadcrumb.html.erb
decidim-admin-0.28.4 app/views/layouts/decidim/admin/_breadcrumb.html.erb
decidim-admin-0.29.0 app/views/layouts/decidim/admin/_breadcrumb.html.erb
decidim-admin-0.28.3 app/views/layouts/decidim/admin/_breadcrumb.html.erb
decidim-admin-0.29.0.rc4 app/views/layouts/decidim/admin/_breadcrumb.html.erb
decidim-admin-0.29.0.rc3 app/views/layouts/decidim/admin/_breadcrumb.html.erb
decidim-admin-0.29.0.rc2 app/views/layouts/decidim/admin/_breadcrumb.html.erb
decidim-admin-0.29.0.rc1 app/views/layouts/decidim/admin/_breadcrumb.html.erb
decidim-admin-0.28.2 app/views/layouts/decidim/admin/_breadcrumb.html.erb
decidim-admin-0.28.1 app/views/layouts/decidim/admin/_breadcrumb.html.erb