Merge pull request #501 from 2vg/master

デスクトップ、モバイル共に投稿数の表示
This commit is contained in:
こぴなたみぽ 2017-05-29 11:04:19 +09:00 committed by GitHub
commit 84405db89f
3 changed files with 10 additions and 4 deletions

View file

@ -406,6 +406,7 @@ mobile:
following: "フォロー"
followers: "フォロワー"
posts: "タイムライン"
posts-count: "ポスト"
media: "メディア"
mk-users-list:

View file

@ -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

View file

@ -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