diff options
Diffstat (limited to 'src/components/mention_link/mention_link.vue')
| -rw-r--r-- | src/components/mention_link/mention_link.vue | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/components/mention_link/mention_link.vue b/src/components/mention_link/mention_link.vue index ea356315..5a8506eb 100644 --- a/src/components/mention_link/mention_link.vue +++ b/src/components/mention_link/mention_link.vue @@ -12,22 +12,24 @@ v-if="user" class="new" :style="style" - :class="{ '-you': isYou }" + :class="[{ '-you': isYou }, highlightType]" > <button - class="button-unstyled short" + class="short" + :class="highlight ? 'button-default' : 'button-default' " @click.prevent="onClick" > <!-- eslint-disable vue/no-v-html --> - <span class="shortName">@<span v-html="userName" /></span> <span v-if="isYou">{{ $t('status.you')}}</span> + <span class="shortName"><span class="userName" v-html="userName" /></span><span class="you" v-if="isYou">{{ $t('status.you')}}</span> <!-- eslint-enable vue/no-v-html --> </button> <span v-if="userName !== userNameFull" - class="full" + class="full popover-default" + :class="[highlightType]" > <!-- eslint-disable vue/no-v-html --> - @<span v-html="userNameFull" /> + <span class="userNameFull" v-html="userNameFull" /> <!-- eslint-enable vue/no-v-html --> </span> </span> |
