Skip to content

Commit

Permalink
Added number of followers by status's user.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Apr 14, 2009
1 parent 508e12a commit 6b9f571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/statuses/_status.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
</p>

<p class="actions">
<span title="# of followers" class="followers_count"><%= user.followers_count %></span>
<%= link_to image_tag('chat.gif'), status_url(:id => status.in_reply_to_status_id), :class => 'icon' unless status.in_reply_to_status_id.blank? %>
<%- if status.favorited -%>
Expand Down
1 change: 1 addition & 0 deletions public/stylesheets/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

div.status {float:left; display:inline; width:550px; border-bottom:1px solid #eee; padding:15px 0;}
div.info {float:left; display:inline; width:240px; margin:0; font-size:11px; text-align:right;}
div.info span.followers_count {color:#999; position:relative; top:-4px; margin-right:3px;}
div.info a.profile_image {float:right; display:block; margin:0 30px;}
div.info a.profile_image img {float:left; width:48px; height:48px; border:1px solid #ddd; padding:1px;}
div.info a.profile_image:hover {background:none;}
Expand Down

0 comments on commit 6b9f571

Please sign in to comment.