fix bug 144 profile glitch

This commit is contained in:
Michael Q Larson
2015-03-08 13:56:11 -07:00
parent dd1b1b3635
commit 35ce34104c

View File

@ -16,10 +16,7 @@ block content
if picture if picture
img.img-center.img-responsive.public-profile-img(src=picture) img.img-center.img-responsive.public-profile-img(src=picture)
else else
if (user) img.img-center.img-responsive.public-profile-img(src='https://s3.amazonaws.com/freecodecamp/favicons/apple-touch-icon-180x180.png')
img.img-center.img-responsive.public-profile-img(src='#{user.gravatar(200)}')
else
img.img-center.img-responsive.public-profile-img(src='https://gravatar.com/avatar/d704cc72a5cd0bfa482ee71f4d557daa?s=200&d=retro')
h1.text-center.negative-5 h1.text-center.negative-5
- if (twitterHandle) - if (twitterHandle)
a.ion-social-twitter.text-primary(title="@#{username}'s Twitter Profile", href="http://twitter.com/#{twitterHandle}", target='_blank') a.ion-social-twitter.text-primary(title="@#{username}'s Twitter Profile", href="http://twitter.com/#{twitterHandle}", target='_blank')