Merge branch 'fix/profile-link-in-usercard' into 'develop'

Add link to profile on usercard avatar and @handle

See merge request !101
This commit is contained in:
Shpuld Shpuldson 2017-08-22 04:35:44 -04:00
commit 863ea98acd
1 changed files with 6 additions and 2 deletions

View File

@ -6,11 +6,15 @@
<i class="icon-cog usersettings"></i> <i class="icon-cog usersettings"></i>
</router-link> </router-link>
<div class='container'> <div class='container'>
<img :src="user.profile_image_url_original"> <router-link :to="{ name: 'user-profile', params: { id: user.id } }">
<img :src="user.profile_image_url_original">
</router-link>
<span class="glyphicon glyphicon-user"></span> <span class="glyphicon glyphicon-user"></span>
<div class="name-and-screen-name"> <div class="name-and-screen-name">
<div class='user-name'>{{user.name}}</div> <div class='user-name'>{{user.name}}</div>
<div class='user-screen-name'>@{{user.screen_name}}</div> <router-link :to="{ name: 'user-profile', params: { id: user.id } }">
<div class='user-screen-name'>@{{user.screen_name}}</div>
</router-link>
</div> </div>
</div> </div>
<div v-if="isOtherUser" class="user-interactions"> <div v-if="isOtherUser" class="user-interactions">