diff --git a/client/html/tags_page.tpl b/client/html/tags_page.tpl index c819c920..d66b342e 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 6c03220a..0cc11a2a 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) {