モバイル版のユーザーページに最終ログイン日時を表示するように
This commit is contained in:
		| @@ -4,7 +4,8 @@ ChangeLog (Release Notes) | |||||||
|  |  | ||||||
| unreleased | unreleased | ||||||
| ---------- | ---------- | ||||||
| * New: モバイル版のアクティビティチャートを変更 | * New: モバイル版のユーザーページのアクティビティチャートを変更 | ||||||
|  | * New: モバイル版のユーザーページに最終ログイン日時を表示するように | ||||||
|  |  | ||||||
| 2503 (2017/08/30) | 2503 (2017/08/30) | ||||||
| ----------------- | ----------------- | ||||||
|   | |||||||
| @@ -480,6 +480,7 @@ mobile: | |||||||
|       recent-posts: "Recent posts" |       recent-posts: "Recent posts" | ||||||
|       images: "Images" |       images: "Images" | ||||||
|       activity: "Activity" |       activity: "Activity" | ||||||
|  |       last-used-at: "Latest used at" | ||||||
|  |  | ||||||
|     mk-user-overview-posts: |     mk-user-overview-posts: | ||||||
|       loading: "Loading" |       loading: "Loading" | ||||||
|   | |||||||
| @@ -481,6 +481,7 @@ mobile: | |||||||
|       recent-posts: "最近の投稿" |       recent-posts: "最近の投稿" | ||||||
|       images: "画像" |       images: "画像" | ||||||
|       activity: "アクティビティ" |       activity: "アクティビティ" | ||||||
|  |       last-used-at: "最終ログイン" | ||||||
|  |  | ||||||
|     mk-user-overview-posts: |     mk-user-overview-posts: | ||||||
|       loading: "読み込み中" |       loading: "読み込み中" | ||||||
|   | |||||||
| @@ -233,6 +233,7 @@ | |||||||
| 			<mk-weekly-activity-chart user={ user }/> | 			<mk-weekly-activity-chart user={ user }/> | ||||||
| 		</div> | 		</div> | ||||||
| 	</section> | 	</section> | ||||||
|  | 	<p>%i18n:mobile.tags.mk-user-overview.last-used-at%: <b><mk-time time={ user.last_used_at }/></b></p> | ||||||
| 	<style> | 	<style> | ||||||
| 		:scope | 		:scope | ||||||
| 			display block | 			display block | ||||||
| @@ -263,6 +264,12 @@ | |||||||
| 				> div | 				> div | ||||||
| 					padding 8px | 					padding 8px | ||||||
|  |  | ||||||
|  | 			> p | ||||||
|  | 				display block | ||||||
|  | 				margin 16px | ||||||
|  | 				text-align center | ||||||
|  | 				color #cad2da | ||||||
|  |  | ||||||
| 	</style> | 	</style> | ||||||
| 	<script> | 	<script> | ||||||
| 		this.user = this.opts.user; | 		this.user = this.opts.user; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo