summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-13 13:25:07 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-13 13:25:07 +0900
commit299ac322259df76493bb40a8228813e152cd91f4 (patch)
treed3bcad0438b2d878de711f81dd28a6bf9887ed70 /src
parent:art: (diff)
downloadmisskey-299ac322259df76493bb40a8228813e152cd91f4.tar.gz
misskey-299ac322259df76493bb40a8228813e152cd91f4.tar.bz2
misskey-299ac322259df76493bb40a8228813e152cd91f4.zip
:art:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/pages/user/user.header.vue14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/pages/user/user.header.vue b/src/client/app/desktop/views/pages/user/user.header.vue
index 76eb8f9e1c..a8e7895f57 100644
--- a/src/client/app/desktop/views/pages/user/user.header.vue
+++ b/src/client/app/desktop/views/pages/user/user.header.vue
@@ -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