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: "フォロー" following: "フォロー"
followers: "フォロワー" followers: "フォロワー"
posts: "タイムライン" posts: "タイムライン"
posts-count: "ポスト"
media: "メディア" media: "メディア"
mk-users-list: mk-users-list:

View File

@ -10,7 +10,8 @@
<div class="twitter" if={ user.twitter }> <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> <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>
<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="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> <p class="followers"><i class="fa fa-angle-right"></i><a onclick={ showFollowers }>{ user.followers_count }</a>人の<b>フォロワー</b></p>
</div> </div>
@ -66,7 +67,7 @@
> i > i
margin-right 8px margin-right 8px
> .friends > .status
padding 16px padding 16px
color #555 color #555
border-top solid 1px #eee 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) }歳) <i class="fa fa-birthday-cake"></i>{ user.profile.birthday.replace('-', '年').replace('-', '月') + '日' } ({ age(user.profile.birthday) }歳)
</p> </p>
</div> </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"> <a href="{ user.username }/following">
<b>{ user.following_count }</b> <b>{ user.following_count }</b>
<i>%i18n:mobile.tags.mk-user.following%</i> <i>%i18n:mobile.tags.mk-user.following%</i>
@ -132,7 +136,7 @@
> i > i
margin-right 4px margin-right 4px
> .friends > .status
> a > a
color #657786 color #657786