Sha256: da9a718e240fb42136fb0d38f19449111c0deff12ad65df1a8206a4fad3d33ec

Contents?: true

Size: 483 Bytes

Versions: 3

Compression:

Stored size: 483 Bytes

Contents

<% tab_items.each do |tab_item| %>
  <li class="profile__tab<%= " is-active" if is_active_link?(tab_item[:path]) %>">
    <%= link_to tab_item[:path], title: tab_item[:text], class: "profile__tab-item" 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

3 entries across 3 versions & 1 rubygems

Version Path
decidim-core-0.28.0 app/cells/decidim/profile/tabs.erb
decidim-core-0.28.0.rc5 app/cells/decidim/profile/tabs.erb
decidim-core-0.28.0.rc4 app/cells/decidim/profile/tabs.erb