Make role badge visible only on user profile page

This commit is contained in:
eugenijm 2019-02-05 04:17:27 +03:00
parent 676e6da3a5
commit fd4cd2e10a
2 changed files with 1 additions and 5 deletions

View File

@ -2,10 +2,6 @@ $main-color: #f58d2c;
$main-background: white;
$darkened-background: whitesmoke;
$admin-color: #e87487;
$admin-border-color: rgba(232,116,135,.5);
$admin-background-color: rgba(232,116,135,.1);
$fallback--bg: #121a24;
$fallback--fg: #182230;
$fallback--faint: rgba(185, 185, 186, .5);

View File

@ -20,7 +20,7 @@
<router-link class='user-screen-name' :to="userProfileLink(user)">
<span class="handle">@{{user.screen_name}}
<span class="alert staff" v-if="!!visibleRole">{{visibleRole}}</span>
<span class="alert staff" v-if="!hideBio && !!visibleRole">{{visibleRole}}</span>
</span><span v-if="user.locked"><i class="icon icon-lock"></i></span>
<span v-if="!hideUserStatsLocal && !hideBio" class="dailyAvg">{{dailyAvg}} {{ $t('user_card.per_day') }}</span>
</router-link>