Route user to the correct profile URL
This commit is contained in:
parent
21b600d5e1
commit
bee6a0273b
|
@ -19,7 +19,9 @@
|
||||||
{{ $t('user_card.follows_you') }}
|
{{ $t('user_card.follows_you') }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<a :href="user.statusnet_profile_url" target="blank"><div class="user-screen-name">@{{ user.screen_name }}</div></a>
|
<router-link class='user-screen-name' :to="{ name: 'user-profile', params: { id: user.id } }">
|
||||||
|
@{{user.screen_name}}
|
||||||
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
<div class="approval" v-if="showApproval">
|
<div class="approval" v-if="showApproval">
|
||||||
<button class="btn btn-default" @click="approveUser">{{ $t('user_card.approve') }}</button>
|
<button class="btn btn-default" @click="approveUser">{{ $t('user_card.approve') }}</button>
|
||||||
|
|
Loading…
Reference in New Issue