summaryrefslogtreecommitdiff
path: root/src/templates/pages
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
commitbd1f76dba80b4ee74906e30dc932d7e409ef8a33 (patch)
tree97f24adf658c658b8dc578286ec02152ed7b3c29 /src/templates/pages
parentdf554b1754ffc31d2e7a116f197f7784d75039ec (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')
-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">