1
0
Fork 0
forked from srxl/akkoma-fe

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

View file

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