Sha256: f830dfab3ab25ec93293399d0ab20367ec25c2705e16aede6325616ae4f41912

Contents?: true

Size: 771 Bytes

Versions: 4

Compression:

Stored size: 771 Bytes

Contents

<% if current_user.recent_groups.any? %>
  <div id="groups_title" class="content_size">
      <%=t('group.last') %> (<span id="group_count"><%=current_user.recent_groups.count%></span>)
  </div>
  <div id="groups_list" class="content_size">
  <% if (current_user.recent_groups.count) > 10 %>
    <div id='carousel_container'>
      <div id='left_scroll'><%=image_tag("btn/group_left.png")%></div>
      <div id='carousel_inner'>
        <ul id='carousel_ul'>
    <% else %>
     <div class="space_center"></div>
    <%end%>

          <%= render current_user.recent_groups %>
    <% if (current_user.recent_groups.count) > 10 %>
        </ul>
     </div>
     <div id='right_scroll'><%=image_tag("btn/group_right.png")%></div>
    </div>
    <% end %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
social_stream-0.2.3 app/views/home/_groups.html.erb
social_stream-0.2.2 app/views/home/_groups.html.erb
social_stream-0.2.1 app/views/home/_groups.html.erb
social_stream-0.2.0 app/views/home/_groups.html.erb