[Web] Display birthday into user page
This commit is contained in:
		
							parent
							
								
									5ccfbad3d0
								
							
						
					
					
						commit
						dd45b8d216
					
				
					 2 changed files with 19 additions and 2 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
|  | @ -18,6 +18,9 @@ mk-user | |||
| 					p.location(if={ user.location }) | ||||
| 						i.fa.fa-map-marker | ||||
| 						| { user.location } | ||||
| 					p.birthday(if={ user.birthday }) | ||||
| 						i.fa.fa-birthday-cake | ||||
| 						| { user.birthday.replace('-', '年').replace('-', '月') + '日' } | ||||
| 
 | ||||
| 				div.friends | ||||
| 					a(href='{ user.username }/following') | ||||
|  | @ -115,9 +118,9 @@ style. | |||
| 				> .info | ||||
| 					margin 8px 0 | ||||
| 
 | ||||
| 					> .location | ||||
| 					> p | ||||
| 						display inline | ||||
| 						margin 0 | ||||
| 						margin 0 16px 0 0 | ||||
| 						color #555 | ||||
| 
 | ||||
| 						> i | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue