Sha256: a1188086335ed3a92f207636b8cfb61fa1d6b140106c9d9965d2c0e8cb6dd8e8

Contents?: true

Size: 564 Bytes

Versions: 10

Compression:

Stored size: 564 Bytes

Contents

<% tab_items.each do |tab_item| %>
  <% active_link = is_active_link?(tab_item[:path]) %>
  <li class="profile__tab<%= " is-active" if active_link %>">
    <%= link_to tab_item[:path], title: tab_item[:text], class: "profile__tab-item", aria: { current: active_link ? "page" : nil } do %>
      <%= icon tab_item[:icon] %>
      <span><%= tab_item[:text] %></span>
      <% if tab_item[:count].present? %>
        <div class="conversation__item-unread">
          <span><%= tab_item[:count] %></span>
        </div>
      <% end %>
    <% end %>
  </li>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/cells/decidim/profile/tabs.erb
decidim-core-0.28.4 app/cells/decidim/profile/tabs.erb
decidim-core-0.29.0 app/cells/decidim/profile/tabs.erb
decidim-core-0.28.3 app/cells/decidim/profile/tabs.erb
decidim-core-0.29.0.rc4 app/cells/decidim/profile/tabs.erb
decidim-core-0.29.0.rc3 app/cells/decidim/profile/tabs.erb
decidim-core-0.29.0.rc2 app/cells/decidim/profile/tabs.erb
decidim-core-0.29.0.rc1 app/cells/decidim/profile/tabs.erb
decidim-core-0.28.2 app/cells/decidim/profile/tabs.erb
decidim-core-0.28.1 app/cells/decidim/profile/tabs.erb