This commit is contained in:
syuilo 2018-06-23 23:03:25 +09:00
parent 92ab2b175e
commit 81b1e72379
2 changed files with 4 additions and 6 deletions

View File

@ -763,6 +763,7 @@ desktop/views/pages/user/user.header.vue:
posts: "投稿"
following: "フォロー"
followers: "フォロワー"
is-bot: "このアカウントはBotです"
desktop/views/pages/user/user.timeline.vue:
default: "投稿"

View File

@ -6,10 +6,10 @@
<div class="title">
<p class="name">{{ user | userName }}</p>
<div>
<template v-if="user.isBot">%fa:robot%</template>
<p v-if="user.isBot" title="%i18n:@is-bot%">%fa:robot%</p>
<p class="username"><mk-acct :user="user"/></p>
<p class="location" v-if="user.host === null && user.profile.location">%fa:map-marker%{{ user.profile.location }}</p>
<p class="birthday" v-if="user.host === null && user.profile.birthday">%fa:birthday-cake%{{ user.profile.birthday.replace('-', '').replace('-', '') + '' }} ({{ age }})</p>
<p class="location" v-if="user.host === null && user.profile.location">%fa:map-marker% {{ user.profile.location }}</p>
<p class="birthday" v-if="user.host === null && user.profile.birthday">%fa:birthday-cake% {{ user.profile.birthday.replace('-', '').replace('-', '') + '' }} ({{ age }})</p>
</div>
</div>
</div>
@ -158,9 +158,6 @@ root(isDark)
line-height 20px
opacity 0.8
> i
margin-right 4px
> .avatar
display block
position absolute