Add link to profile on usercard avatar and @handle

This commit is contained in:
eal 2017-08-21 23:14:05 +03:00
parent cbe652f2d9
commit 4291263cec

View file

@ -6,11 +6,15 @@
<i class="icon-cog usersettings"></i>
</router-link>
<div class='container'>
<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>
<div class="name-and-screen-name">
<div class='user-name'>{{user.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 v-if="isOtherUser" class="user-interactions">