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)
Thu May 01 14:55:52 -0700 2008
commit  81c7177a110d8be0dc99a0a39734940f830a2818
tree    0d47e84314808000fc80214edc4f8c71d118ae55
parent  b96919179aa5ced2c709ee21a95d972855fe1a89
insoshi / app / views / home / index.html.erb
100644 30 lines (25 sloc) 0.895 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
<%- column_div :type => :primary do -%>
  <%- if logged_in? -%>
    <%= render :partial => 'feed' %>
  <%- end -%>
<%- end -%>
 
<%- column_div :type => :secondary do -%>
  <%= render :partial => "searches/box" %>
  <%- if logged_in? -%>
    <%= render :partial => 'requested_contacts' %>
    <%= render :partial => 'messages_preview' %>
    <%= render :partial => 'shared/contacts_preview',
               :locals => { :person => current_person } %>
  <%- else -%>
    <h2>About Insoshi</h2>
    
    <p><a href="http://insoshi.com/">Insoshi</a>
       is an open-source project dedicated to making the best
      social networking platform.</p>
      
      <p>This is the
      developer community site for the Insoshi project.
      </p>
      
    <div style="text-align: center;">
      <%= link_to image_tag("button_signup.png"), signup_path %>
    </div>
      
  <%- end -%>
<%- end -%>