client/tags: change 'edit time' to 'created on'
This commit is contained in:
parent
ef0f74297f
commit
63e8683fb8
2 changed files with 7 additions and 7 deletions
|
@ -30,11 +30,11 @@
|
||||||
<a href='/tags/query=sort:usages'>Usages</a>
|
<a href='/tags/query=sort:usages'>Usages</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
</th>
|
</th>
|
||||||
<th class='edit-time'>
|
<th class='creation-time'>
|
||||||
<% if (ctx.query == 'sort:last-edit-time') { %>
|
<% if (ctx.query == 'sort:creation-time') { %>
|
||||||
<a href='/tags/query=-sort:last-edit-time'>Edit time</a>
|
<a href='/tags/query=-sort:creation-time'>Created on</a>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<a href='/tags/query=sort:last-edit-time'>Edit time</a>
|
<a href='/tags/query=sort:creation-time'>Created on</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
</th>
|
</th>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -73,8 +73,8 @@
|
||||||
<td class='usages'>
|
<td class='usages'>
|
||||||
<%- tag.postCount %>
|
<%- tag.postCount %>
|
||||||
</td>
|
</td>
|
||||||
<td class='edit-time'>
|
<td class='creation-time'>
|
||||||
<%= ctx.makeRelativeTime(tag.lastEditTime) %>
|
<%= ctx.makeRelativeTime(tag.creationTime) %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
|
@ -10,7 +10,7 @@ const TagsPageView = require('../views/tags_page_view.js');
|
||||||
const EmptyView = require('../views/empty_view.js');
|
const EmptyView = require('../views/empty_view.js');
|
||||||
|
|
||||||
const fields = [
|
const fields = [
|
||||||
'names', 'suggestions', 'implications', 'lastEditTime', 'usages'];
|
'names', 'suggestions', 'implications', 'creationTime', 'usages'];
|
||||||
|
|
||||||
class TagListController {
|
class TagListController {
|
||||||
constructor(ctx) {
|
constructor(ctx) {
|
||||||
|
|
Loading…
Reference in a new issue