diff options
| author | rr- | 2017-01-20 21:51:04 +0100 |
|---|---|---|
| committer | rr- | 2017-01-21 00:13:35 +0100 |
| commit | 1acceb941d84775cdeb0019bdfbdd63e9e125982 (patch) | |
| tree | be63eb2e886763f822af765a0d4214645fec55f8 /client/html/home_footer.tpl | |
| parent | 6714f05b49f314fe27e977b5555cb6c6cd6b1e17 (diff) | |
client: refactor linking and routing
Print all links through new uri.js component
Refactor the router to use more predictable parsing
Fix linking to entities with weird names (that contain slashes, + etc.)
Diffstat (limited to 'client/html/home_footer.tpl')
| -rw-r--r-- | client/html/home_footer.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/html/home_footer.tpl b/client/html/home_footer.tpl index 9ab9cd0..8f9cb10 100644 --- a/client/html/home_footer.tpl +++ b/client/html/home_footer.tpl @@ -2,6 +2,6 @@ <li><%- ctx.postCount %> posts</li><span class='sep'> </span><li><%= ctx.makeFileSize(ctx.diskUsage) %></li><span class='sep'> </span><li>Build <a class='version' href='https://github.com/rr-/szurubooru/commits/master'><%- ctx.version %></a> from <%= ctx.makeRelativeTime(ctx.buildDate) %></li><span class='sep'> - </span><% if (ctx.canListSnapshots) { %><li><a href='/history'>History</a></li><span class='sep'> + </span><% if (ctx.canListSnapshots) { %><li><a href='<%- ctx.formatClientLink('history') %>'>History</a></li><span class='sep'> </span><% } %> </ul> |