summaryrefslogtreecommitdiff
path: root/src/templates/pages/index.html.ftl
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2014-06-23 20:47:42 -0700
committerJesse Morgan <jesse@jesterpm.net>2014-06-23 20:47:42 -0700
commit42683efab25f2463624b73bd5a6c4c6cf63dbd89 (patch)
tree146f9c9eb9b17d80433519fca3604b6f7cba53bf /src/templates/pages/index.html.ftl
parent09ecc1653d46865d130e4f5ffbb3d257e49ac73b (diff)
Adding a domain label to the header.
The page header now displays the domain label if the domain is not prod. This is useful for quickly identifying if you are modifying prod data.
Diffstat (limited to 'src/templates/pages/index.html.ftl')
-rw-r--r--src/templates/pages/index.html.ftl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/templates/pages/index.html.ftl b/src/templates/pages/index.html.ftl
index 1b59509..59a5e38 100644
--- a/src/templates/pages/index.html.ftl
+++ b/src/templates/pages/index.html.ftl
@@ -16,6 +16,9 @@
<header>
<h1>
<a href="http://myfoursquarechurch.com"><img src="${staticRoot}/images/foursquarelg.png"></a>
+ <#if config.getDomain() != "prod">
+ <span class="versiontag">${config.getDomain()}</span>
+ </#if>
</h1>
<#include "/templates/nav.ftl">