Sha256: 0cca1d8d8e2aa2c272f2bea9ac7bd41869ee37c46729f1081f8c89881dea3de9

Contents?: true

Size: 1.06 KB

Versions: 9

Compression:

Stored size: 1.06 KB

Contents

<% cont=0; %>

<% Group.alphabetic.all.each do |group| %>

	<% if (cont%2) == 0
			cont+=1; %>
	  	<div class="wrap_post">
	<% end %>

			<div class="post_browse">
			<div class="post_picture"><%= link_to (image_tag(group.logo.url , :size => "50x50", :alt => group.name )),home_path  %></div>
			<div class="post_browse_content_people content_size">
                          <div class="post_browse_title content_size" >
                            <%= link_to group.name, group %>
                          </div>
                          <div class="content_size">
                            <%= tie_link(current_user.sent_ties.build(:receiver => group.actor,
                                                                      :relation => Relation.mode(current_user.class,
                                                                                                 group.class).find_by_name("follower"))) %>
                          </div>
			</div>
			</div>

	<% if ((cont%2) == 0) 	%>
			</div>
	<% end %>

<% end %>


<% if ((cont%2) != 0) 	%>
		</div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
social_stream-0.2.3 app/views/groups/_index.html.erb
social_stream-0.2.2 app/views/groups/_index.html.erb
social_stream-0.2.1 app/views/groups/_index.html.erb
social_stream-0.2.0 app/views/groups/_index.html.erb
social_stream-0.1.7 app/views/groups/_index.html.erb
social_stream-0.1.6 app/views/groups/_index.html.erb
social_stream-0.1.5 app/views/groups/_index.html.erb
social_stream-0.1.4 app/views/groups/_index.html.erb
social_stream-0.1.3 app/views/groups/_index.html.erb