diff --git a/app/views/users/show.jade b/app/views/users/show.jade index 8091eda8..705c3de6 100644 --- a/app/views/users/show.jade +++ b/app/views/users/show.jade @@ -4,14 +4,19 @@ block content .well h3 Profile - if (user.provider == 'twitter') - img(class="profile-image", src="#{user.twitter.profile_image_url}") + img(class="profile-image img-thumbnail", src="#{user.twitter.profile_image_url}") i.icon-twitter.icon-3x - ul - li #{user.name} - li #{user.twitter.description} - li a(href="https://twitter.com/#{user.username}", target="_blank")@#{user.username} - li Friends on twitter: #{user.twitter.friends_count} - li Followers on Twitter #{user.twitter.followers_count} + div.container + div.col-md-6 + #{user.name} + #{user.twitter.description} + div.col-md-6 + div + a(href="https://twitter.com/#{user.username}", target="_blank")@#{user.username} + div + Friends on twitter: #{user.twitter.friends_count} + div + Followers on Twitter #{user.twitter.followers_count} - if (user.provider == 'facebook') img(class="profile-image", src='http://graph.facebook.com/'+user.facebook.id+'/picture') i.icon-facebook.icon-3x @@ -19,7 +24,7 @@ block content li #{user.name} li Facebook link: #{user.facebook.link} - if (user.provider == 'github') - img(class="profile-image", src=user.github.avatar_url) + img(class="profile-image img-thumbnail", src=user.github.avatar_url) i.icon-github.icon-3x div.user-info a(href="#{user.github.html_url}", target='_blank') @#{user.github.login} diff --git a/package.json b/package.json index 803792ec..1258b339 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nwitter", "description": "A twitter demo app in nodejs", - "version": "0.0.1-39", + "version": "0.0.1-49", "repository": "https://github.com/vinitcool76/node-twitter", "private": false, "author": "Vinit Kumar (http://vinitkumar.me)",