Sha256: 6b9e64343249683c409d5fd92a169d052283bf26c1109b71850bf1b722d04639

Contents?: true

Size: 661 Bytes

Versions: 25

Compression:

Stored size: 661 Bytes

Contents

<section class="groups">
  <% if (gs = subject.contact_subjects(direction: :sent, type: :group) { |as| as.recent.first(6) }).present? %>
    <h4>
      <%= t('group.n', :count => subject.contact_subjects(:direction => :sent, type: :group).count) %>
    </h4>
    <span class="line"></span>
    <ul>
      <% gs.each do |g| %>
        <li>
          <%= link_to(image_tag(g.logo.url(:small), :alt => g.name, :title => g.name, :size => "small"), g) %>
        </li>
      <% end %>
    </ul>
    <nav class="groups-more">
      <%= link_to t("group.view_all"), polymorphic_path([ profile_subject, Contact.new ], type: :group) %>
    </nav>
  <% end %>
</section>

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
social_stream-2.2.2 base/app/views/toolbar/_groups.html.erb
social_stream-base-2.2.2 app/views/toolbar/_groups.html.erb
social_stream-2.2.1 base/app/views/toolbar/_groups.html.erb
social_stream-base-2.2.1 app/views/toolbar/_groups.html.erb
social_stream-2.2.0 base/app/views/toolbar/_groups.html.erb
social_stream-base-2.2.0 app/views/toolbar/_groups.html.erb
social_stream-2.1.1 base/app/views/toolbar/_groups.html.erb
social_stream-2.1.0 base/app/views/toolbar/_groups.html.erb
social_stream-base-2.1.0 app/views/toolbar/_groups.html.erb
social_stream-2.0.4 base/app/views/toolbar/_groups.html.erb
social_stream-base-2.0.4 app/views/toolbar/_groups.html.erb
social_stream-2.0.3 base/app/views/toolbar/_groups.html.erb
social_stream-base-2.0.3 app/views/toolbar/_groups.html.erb
social_stream-2.0.2 base/app/views/toolbar/_groups.html.erb
social_stream-base-2.0.2 app/views/toolbar/_groups.html.erb
social_stream-2.0.1 base/app/views/toolbar/_groups.html.erb
social_stream-base-2.0.1 app/views/toolbar/_groups.html.erb
social_stream-2.0.0 base/app/views/toolbar/_groups.html.erb
social_stream-base-2.0.0 app/views/toolbar/_groups.html.erb
social_stream-2.0.0.beta3 base/app/views/toolbar/_groups.html.erb