This commit is contained in:
parent
0da6f14b3b
commit
c13545f965
|
@ -5,18 +5,14 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<header :class="$style.root">
|
<header :class="$style.root">
|
||||||
<component :is="defaultStore.state.enableCondensedLine ? 'MkCondensedLine' : 'div'" :minScale="0.7" style="min-width: 0;">
|
<div v-if="mock" :class="$style.name">
|
||||||
<div style="display: flex; white-space: nowrap; align-items: baseline;">
|
<MkUserName :user="note.user"/>
|
||||||
<div v-if="mock" :class="$style.name">
|
</div>
|
||||||
<MkUserName :user="note.user"/>
|
<MkA v-else v-user-preview="note.user.id" :class="$style.name" :to="userPage(note.user)">
|
||||||
</div>
|
<MkUserName :user="note.user"/>
|
||||||
<MkA v-else v-user-preview="note.user.id" :class="$style.name" :to="userPage(note.user)">
|
</MkA>
|
||||||
<MkUserName :user="note.user"/>
|
<div v-if="note.user.isBot" :class="$style.isBot">bot</div>
|
||||||
</MkA>
|
<div :class="$style.username"><MkAcct :user="note.user"/></div>
|
||||||
<div v-if="note.user.isBot" :class="$style.isBot">bot</div>
|
|
||||||
<div :class="$style.username"><MkAcct :user="note.user"/></div>
|
|
||||||
</div>
|
|
||||||
</component>
|
|
||||||
<div v-if="note.user.badgeRoles" :class="$style.badgeRoles">
|
<div v-if="note.user.badgeRoles" :class="$style.badgeRoles">
|
||||||
<img v-for="(role, i) in note.user.badgeRoles" :key="i" v-tooltip="role.name" :class="$style.badgeRole" :src="role.iconUrl!"/>
|
<img v-for="(role, i) in note.user.badgeRoles" :key="i" v-tooltip="role.name" :class="$style.badgeRole" :src="role.iconUrl!"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue