mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/tags: quicker access to the tagged posts
Based on #656, plus escaping.
This commit is contained in:
@ -71,7 +71,7 @@
|
||||
<% } %>
|
||||
</td>
|
||||
<td class='usages'>
|
||||
<%- tag.postCount %>
|
||||
<a href='<%- ctx.formatClientLink('posts', {query: ctx.escapeTagName(tag.names[0])}) %>'><%- tag.postCount %></a>
|
||||
</td>
|
||||
<td class='creation-time'>
|
||||
<%= ctx.makeRelativeTime(tag.creationTime) %>
|
||||
|
@ -460,6 +460,7 @@ function getTemplate(templatePath) {
|
||||
makeCssName: misc.makeCssName,
|
||||
makeNumericInput: makeNumericInput,
|
||||
formatClientLink: uri.formatClientLink,
|
||||
escapeTagName: uri.escapeTagName,
|
||||
});
|
||||
return htmlToDom(templateFactory(ctx));
|
||||
};
|
||||
|
Reference in New Issue
Block a user