This commit is contained in:
syuilo 2018-06-23 23:03:25 +09:00
parent aea8f93e02
commit 3f0b5e4318
2 changed files with 4 additions and 6 deletions

View file

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

View file

@ -6,10 +6,10 @@
<div class="title"> <div class="title">
<p class="name">{{ user | userName }}</p> <p class="name">{{ user | userName }}</p>
<div> <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="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="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="birthday" v-if="user.host === null && user.profile.birthday">%fa:birthday-cake% {{ user.profile.birthday.replace('-', '').replace('-', '') + '' }} ({{ age }})</p>
</div> </div>
</div> </div>
</div> </div>
@ -158,9 +158,6 @@ root(isDark)
line-height 20px line-height 20px
opacity 0.8 opacity 0.8
> i
margin-right 4px
> .avatar > .avatar
display block display block
position absolute position absolute