Sha256: a8f4a59461e8bf53ccc6f4ae58572f31340f5cb68c0173c6da3d392de0e89da2

Contents?: true

Size: 769 Bytes

Versions: 5

Compression:

Stored size: 769 Bytes

Contents

<% if current_user.recent_groups.any? %>
  <div id="groups_title" class="content_size">
      <%=t('group.my') %> (<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

5 entries across 5 versions & 1 rubygems

Version Path
social_stream-0.1.7 app/views/users/_groups.html.erb
social_stream-0.1.6 app/views/users/_groups.html.erb
social_stream-0.1.5 app/views/users/_groups.html.erb
social_stream-0.1.4 app/views/users/_groups.html.erb
social_stream-0.1.3 app/views/users/_groups.html.erb