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
Search Repo:
Michael Hartl (author)
Sun Mar 23 15:09:41 -0700 2008
commit  86647757a86392bf51e702bb244c207cb1371574
tree    cbe034a9eaf07aa07bc2bf2198c8f70f5fb8d05b
parent  f2df17d908f59d54add040edfd36c6d93aad7130
insoshi / app / views / people / show.html.erb
100644 31 lines (24 sloc) 0.841 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
28
29
30
31
<%- column_div :type => :primary do -%>
  
  <h1>Profile for <%= @person.name %></h1>
 
  <%- unless current_person?(@person) -%>
    <%= email_link @person %>
    <%- unless Connection.exists?(@person, current_person) -%>
      |
      <%= link_to "Connect with #{@person.name}!",
                  person_connections_path(@person), :method => :post %>
    <%- end -%>
    <%- if logged_in? and Connection.connected?(@person, current_person) -%>
      | <%= @person.name %> is one of your contacts
    <%- end -%>
  <%- end -%>
 
  <div>
    <p>
    <%= image_tag @person.main_photo %>
    
    <%= sanitize @person.description %></p>
  </div>
  
  <%= render :partial => 'recent_activity' %>
  <%= render :partial => 'wall' %>
<%- end -%>
 
<%- column_div :type => :secondary do -%>
  <%= render :partial => 'shared/minifeed' %>
<%- end -%>