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:
Cleaned up admin people listing to use <ul>
Michael Hartl (author)
Tue May 13 11:54:14 -0700 2008
commit  243aa373a16998c066c8d41937f65e5575a2afd3
tree    587cacc3de6559d2116b2728cac7d93d298447fa
parent  a8f510af0b93d7a08d4ffdd561fd008bd1ded6ad
...
1
2
3
4
 
 
 
 
 
 
 
5
6
7
...
11
12
13
14
15
16
 
 
17
...
 
 
 
 
1
2
3
4
5
6
7
8
9
10
...
14
15
16
 
 
17
18
19
20
0
@@ -1,7 +1,10 @@
0
-<tr>
0
- <td><%= image_link person %></td>
0
- <td><%= person_link person %></td>
0
- <td>
0
+
0
+<li class="vcard person">
0
+ <div class="profile-image">
0
+ <%= image_link person %>
0
+ </div>
0
+ <p><%= person_link person, :class => "url fn" %></p>
0
+ <p>
0
     <%- activity = person.deactivated? ? "activate" : "deactivate" -%>
0
     <%= link_to activity,
0
                 admin_person_path(person, :task => "deactivated"),
0
@@ -11,5 +14,5 @@
0
     <%= link_to activity,
0
                 admin_person_path(person, :task => "admin"),
0
                 :method => :put %>
0
- </td>
0
-</tr>
0
\ No newline at end of file
0
+ </p>
0
+</li>
0
\ No newline at end of file
...
4
5
6
7
 
8
9
10
 
 
11
12
13
...
4
5
6
 
7
8
 
 
9
10
11
12
13
0
@@ -4,10 +4,10 @@
0
 
0
   <%= will_paginate %>
0
 
0
- <table>
0
+ <ul class="list people">
0
     <%= render :partial => 'person', :collection => @people %>
0
- </table>
0
-
0
+ </ul>
0
+
0
   <%= will_paginate %>
0
 <%- end -%>
0
 

Comments

    No one has commented yet.