diff options
| author | こぴなたみぽ <Syuilotan@yahoo.co.jp> | 2017-05-29 11:04:19 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-29 11:04:19 +0900 |
| commit | 84405db89f79ddb08aa94423a9ab31e08e6ee157 (patch) | |
| tree | 8aaa136590bf9761bfe48bb5ff13415dc4bd7e34 /src/web | |
| parent | v1902-2 (diff) | |
| parent | Update user-profile.tag (diff) | |
| download | misskey-84405db89f79ddb08aa94423a9ab31e08e6ee157.tar.gz misskey-84405db89f79ddb08aa94423a9ab31e08e6ee157.tar.bz2 misskey-84405db89f79ddb08aa94423a9ab31e08e6ee157.zip | |
Merge pull request #501 from 2vg/master
デスクトップ、モバイル共に投稿数の表示
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/desktop/tags/user-profile.tag | 5 | ||||
| -rw-r--r-- | src/web/app/mobile/tags/user.tag | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/web/app/desktop/tags/user-profile.tag b/src/web/app/desktop/tags/user-profile.tag index e6def9ffa8..546ccf7325 100644 --- a/src/web/app/desktop/tags/user-profile.tag +++ b/src/web/app/desktop/tags/user-profile.tag @@ -10,7 +10,8 @@ <div class="twitter" if={ user.twitter }> <p><i class="fa fa-twitter"></i><a href={ 'https://twitter.com/' + user.twitter.screen_name } target="_blank">@{ user.twitter.screen_name }</a></p> </div> - <div class="friends"> + <div class="status"> + <p class="posts-count"><i class="fa fa-angle-right"></i><a>{ user.posts_count }</a><b>ポスト</b></p> <p class="following"><i class="fa fa-angle-right"></i><a onclick={ showFollowing }>{ user.following_count }</a>人を<b>フォロー</b></p> <p class="followers"><i class="fa fa-angle-right"></i><a onclick={ showFollowers }>{ user.followers_count }</a>人の<b>フォロワー</b></p> </div> @@ -66,7 +67,7 @@ > i margin-right 8px - > .friends + > .status padding 16px color #555 border-top solid 1px #eee diff --git a/src/web/app/mobile/tags/user.tag b/src/web/app/mobile/tags/user.tag index 8f0d21b44e..b91935aa6a 100644 --- a/src/web/app/mobile/tags/user.tag +++ b/src/web/app/mobile/tags/user.tag @@ -23,7 +23,11 @@ <i class="fa fa-birthday-cake"></i>{ user.profile.birthday.replace('-', '年').replace('-', '月') + '日' } ({ age(user.profile.birthday) }歳) </p> </div> - <div class="friends"> + <div class="status"> + <a> + <b>{ user.posts_count }</b> + <i>%i18n:mobile.tags.mk-user.posts-count%</i> + </a> <a href="{ user.username }/following"> <b>{ user.following_count }</b> <i>%i18n:mobile.tags.mk-user.following%</i> @@ -132,7 +136,7 @@ > i margin-right 4px - > .friends + > .status > a color #657786 |