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
Added last_logged_in_at note on profiles
Michael Hartl (author)
Thu May 22 12:07:04 -0700 2008
commit  f65d99d95a4150b00b12d0d5109452712533df93
tree    09c7c5f20976069ee75d1f17413e909f082f2b9d
parent  84404ea59c5fa64d7000344176c9a759422c4db1
...
1
2
 
 
 
 
 
 
 
 
 
3
4
5
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
0
@@ -1,5 +1,14 @@
0
 <%- unless @person.recent_activity.empty? -%>
0
   <h2>Recent Activity</h2>
0
+
0
+
0
+ <%- unless @person.last_logged_in_at.nil? or current_person?(@person) -%>
0
+ <p class="meta">
0
+ <%= @person.name %> last logged in
0
+ <%= time_ago_in_words(@person.last_logged_in_at) %> ago
0
+ </p>
0
+ <%- end -%>
0
+
0
   <ul class="list activity full">
0
      <%= render :partial => 'shared/activity',
0
                 :collection => @person.recent_activity,

Comments

    No one has commented yet.