[Web] Display birthday into user page

This commit is contained in:
syuilo
2017-01-06 15:51:31 +09:00
parent 5ccfbad3d0
commit dd45b8d216
2 changed files with 19 additions and 2 deletions

View File

@ -3,6 +3,9 @@ mk-user-profile
mk-big-follow-button(user={ user })
p.followed(if={ user.is_followed }) フォローされています
div.bio(if={ user.bio != '' }) { user.bio }
div.birthday(if={ user.birthday }): p
i.fa.fa-birthday-cake
| { user.birthday.replace('-', '年').replace('-', '月') + '日' }
div.friends
p.following
i.fa.fa-angle-right
@ -44,6 +47,17 @@ style.
color #555
border-top solid 1px #eee
> .birthday
padding 16px
color #555
border-top solid 1px #eee
> p
margin 0
> i
margin-right 8px
> .friends
padding 16px
color #555