1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-02 00:38:25 +09:00
This commit is contained in:
syuilo 2018-10-13 13:25:07 +09:00
parent a038738d72
commit 299ac32225
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -8,8 +8,6 @@
<div>
<span class="username"><mk-acct :user="user" :detail="true" /></span>
<span v-if="user.isBot" title="%i18n:@is-bot%">%fa:robot%</span>
<span class="location" v-if="user.host === null && user.profile.location">%fa:map-marker% {{ user.profile.location }}</span>
<span class="birthday" v-if="user.host === null && user.profile.birthday">%fa:birthday-cake% {{ user.profile.birthday.replace('-', '').replace('-', '') + '' }} ({{ age }})</span>
</div>
</div>
</div>
@ -18,6 +16,10 @@
<div class="description">
<misskey-flavored-markdown v-if="user.description" :text="user.description" :i="$store.state.i"/>
</div>
<div class="info">
<span class="location" v-if="user.host === null && user.profile.location">%fa:map-marker% {{ user.profile.location }}</span>
<span class="birthday" v-if="user.host === null && user.profile.birthday">%fa:birthday-cake% {{ user.profile.birthday.replace('-', '').replace('-', '') + '' }} ({{ age }})</span>
</div>
<div class="status">
<span class="notes-count"><b>{{ user.notesCount | number }}</b>%i18n:@posts%</span>
<span class="following clickable" @click="showFollowing"><b>{{ user.followingCount | number }}</b>%i18n:@following%</span>
@ -182,6 +184,14 @@ export default Vue.extend({
padding 16px 16px 16px 154px
color var(--text)
> .info
margin-top 16px
padding-top 16px
border-top solid 1px var(--faceDivider)
> *
margin-right 16px
> .status
margin-top 16px
padding-top 16px