public
Description: The open source social networking platform in Ruby on Rails from the author of RailsSpace
Homepage: http://insoshi.com
Clone URL: git://github.com/insoshi/insoshi.git
Michael Hartl (author)
Wed May 07 12:00:19 -0700 2008
commit  ed4fb244bd0c174df2814784e443cffa1a12d9b1
tree    1b98daefa256153aa7243aa0fbe354dc8230b83a
parent  c50345cc82fbce88f710b5bc8c54111e30e480eb
insoshi / app / views / connections / index.html.erb
100644 27 lines (22 sloc) 0.751 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<%- column_div :type => :primary do -%>
<h2>Contacts for <%= h @person.name %></h2>
 
<% unless @contacts.empty? -%>
  <%= will_paginate(@contacts) %>
  <ul class="grid contacts medium">
    <%- @contacts.each do |contact| -%>
      <li class="vcard contact">
        <%= image_link contact, :image_options => { :class => "photo" },
                                :link_options => { :class => "url" },
                                :vcard => true,
                                :image => :bounded_icon %>
      </li>
    <%- end -%>
      
  </ul>
  <%= will_paginate(@contacts) %>
<% else %>
  <h3>No contacts (yet)</h3>
<% end -%>
 
<%- end -%>
 
<%- column_div :type => :secondary do -%>
  <%= render :partial => 'shared/minifeed' %>
<%- end -%>