summaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorRuin0x11 <ipickering2@gmail.com>2021-05-14 07:39:40 -0700
committerGitHub <noreply@github.com>2021-05-14 14:39:40 +0000
commita6886ddb89a99a3f93f56abc40f2174cc20d1a23 (patch)
treecc701f252746e5ef69f5604bb0ec2a793d43f152 /client/html
parentca771495979b035ac670b850b10239b6e4f10dcc (diff)
Improve compilation speed for development builds (#402)
* Improve incremental build times * Live-reloading in development mode
Diffstat (limited to 'client/html')
-rw-r--r--client/html/home_footer.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/html/home_footer.tpl b/client/html/home_footer.tpl
index 8f9cb10..85e71c9 100644
--- a/client/html/home_footer.tpl
+++ b/client/html/home_footer.tpl
@@ -1,7 +1,7 @@
<ul>
<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><li>Build <a class='version' href='https://github.com/rr-/szurubooru/commits/master'><%- ctx.version %></a><%- ctx.isDevelopmentMode ? " (DEV MODE)" : "" %> from <%= ctx.makeRelativeTime(ctx.buildDate) %></li><span class='sep'>
</span><% if (ctx.canListSnapshots) { %><li><a href='<%- ctx.formatClientLink('history') %>'>History</a></li><span class='sep'>
</span><% } %>
</ul>