Permalink
Browse files

display rank order

  • Loading branch information...
1 parent 05b8f7b commit f994c7cd87f6777a552184b789ec742b639cb360 @banyan committed Mar 27, 2012
Showing with 4 additions and 2 deletions.
  1. +1 −1 app/assets/stylesheets/_vars.css.scss
  2. +3 −1 app/views/plugins/index.html.erb
@@ -30,7 +30,7 @@ $favicon-size: 16px;
$portrait: 320px;
$landscape: 480px;
-$tablet: 768px;
+$tablet: 900px;
$netbook: 1024px;
$desktop: 1280px;
@@ -5,10 +5,12 @@
<tr>
<th></th>
<th></th>
+ <th></th>
</tr>
- <% @popular.each do |group| %>
+ <% @popular.each_with_index do |group, i| %>
<tr>
+ <td><%= i + 1 %></td>
<td><%= link_to group.url, plugin_path(group.id) %></td>
<td><%= group.count_plugins %></td>
</tr>

0 comments on commit f994c7c

Please sign in to comment.