From 63e8683fb8af51f586987b30a9d5a274c5356324 Mon Sep 17 00:00:00 2001 From: rr- Date: Sat, 27 Aug 2016 15:29:40 +0200 Subject: [PATCH] client/tags: change 'edit time' to 'created on' --- client/html/tags_page.tpl | 12 ++++++------ client/js/controllers/tag_list_controller.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/html/tags_page.tpl b/client/html/tags_page.tpl index c819c92..d66b342 100644 --- a/client/html/tags_page.tpl +++ b/client/html/tags_page.tpl @@ -30,11 +30,11 @@ Usages <% } %> - - <% if (ctx.query == 'sort:last-edit-time') { %> - Edit time + + <% if (ctx.query == 'sort:creation-time') { %> + Created on <% } else { %> - Edit time + Created on <% } %> @@ -73,8 +73,8 @@ <%- tag.postCount %> - - <%= ctx.makeRelativeTime(tag.lastEditTime) %> + + <%= ctx.makeRelativeTime(tag.creationTime) %> <% } %> diff --git a/client/js/controllers/tag_list_controller.js b/client/js/controllers/tag_list_controller.js index 6c03220..0cc11a2 100644 --- a/client/js/controllers/tag_list_controller.js +++ b/client/js/controllers/tag_list_controller.js @@ -10,7 +10,7 @@ const TagsPageView = require('../views/tags_page_view.js'); const EmptyView = require('../views/empty_view.js'); const fields = [ - 'names', 'suggestions', 'implications', 'lastEditTime', 'usages']; + 'names', 'suggestions', 'implications', 'creationTime', 'usages']; class TagListController { constructor(ctx) {