Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

Commit

Permalink
Updated syntax and removed unused image
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil LaPier committed Dec 16, 2010
1 parent 44c3beb commit e4e9435
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/helpers/twitter_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module TwitterHelper
def twitter_avatar(name, size)
return "" if name.blank?
content_tag :div, :class => "logo" do
content_tag :div, :class => "avatar" do
link_to "http://twitter.com/#{name}" do
image_tag "http://avatar.statusok.com/#{name}?size=#{size}", :width => "#{size}px", :height => "#{size}px"
end
Expand Down
Binary file removed public/images/default-avatar.png
Binary file not shown.
2 changes: 1 addition & 1 deletion public/stylesheets/sass/screen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ html, body {
margin: 15px 0;
min-height: 50px;
padding: 5px;
div.logo {
div.avatar {
background: url('/stylesheets/images/default-avatar.png') no-repeat;
float: left;
margin: 0 10px 0 0;
Expand Down
2 changes: 1 addition & 1 deletion public/stylesheets/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ html, body {
margin: 15px 0;
min-height: 50px;
padding: 5px; }
#container section#attendees div#developer-attendees ul li div.logo, #container section#attendees div#designer-attendees ul li div.logo {
#container section#attendees div#developer-attendees ul li div.avatar, #container section#attendees div#designer-attendees ul li div.avatar {
background: url("/stylesheets/images/default-avatar.png") no-repeat;
float: left;
margin: 0 10px 0 0;
Expand Down

0 comments on commit e4e9435

Please sign in to comment.