Sha256: ce2a83168d0573aa79acdb6392113fececb54d2ab6f665f9847121fc583cfd9e

Contents?: true

Size: 861 Bytes

Versions: 5

Compression:

Stored size: 861 Bytes

Contents

<% cont=0; %>
<% @groups.each do |group| %>
	<% if (cont%2) == 0 %>
	  <% cont+=1; %>
 	  <div class="row">
	<% end %>
    <div class="label">
      <div class="logo">
        <%= link_to (image_tag(group.logo.url , :size => "50x50", :alt => group.name )), group  %>
      </div>
      <div class="sub-block">
        <div class="name black" >
          <%= link_to group.name, group %>
        </div>
        <div class="brief">
          <%= t 'follower.n', :count => group.follower_count %>,
          <%= t 'like.n',     :count => group.like_count %>
        </div>
        <div class="link">
          <%= contact_to(group) %>
        </div>
      </div>
    </div>
	<% if ((cont%2) == 0) 	%>
  	</div>
	<% end %>
<% end %>
<% if ((cont%2) != 0) 	%>
  <div class="label">
  </div>
		</div>
<% end %>
<div class="row">
  <%= will_paginate @groups %>
</div>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
social_stream-base-0.5.2 app/views/groups/_index.html.erb
social_stream-base-0.5.1 app/views/groups/_index.html.erb
social_stream-base-0.5.0 app/views/groups/_index.html.erb
social_stream-0.4.6 app/views/groups/_index.html.erb
social_stream-0.4.5 app/views/groups/_index.html.erb