Make role badge visible only on user profile page
This commit is contained in:
parent
676e6da3a5
commit
fd4cd2e10a
2 changed files with 1 additions and 5 deletions
|
@ -2,10 +2,6 @@ $main-color: #f58d2c;
|
||||||
$main-background: white;
|
$main-background: white;
|
||||||
$darkened-background: whitesmoke;
|
$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--bg: #121a24;
|
||||||
$fallback--fg: #182230;
|
$fallback--fg: #182230;
|
||||||
$fallback--faint: rgba(185, 185, 186, .5);
|
$fallback--faint: rgba(185, 185, 186, .5);
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
<router-link class='user-screen-name' :to="userProfileLink(user)">
|
<router-link class='user-screen-name' :to="userProfileLink(user)">
|
||||||
<span class="handle">@{{user.screen_name}}
|
<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><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>
|
<span v-if="!hideUserStatsLocal && !hideBio" class="dailyAvg">{{dailyAvg}} {{ $t('user_card.per_day') }}</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
Loading…
Reference in a new issue