summaryrefslogtreecommitdiff
path: root/src/templates
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
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')
-rw-r--r--src/templates/pages/index.html.ftl3
-rw-r--r--src/templates/templates/header.ftl3
2 files changed, 6 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">
diff --git a/src/templates/templates/header.ftl b/src/templates/templates/header.ftl
index 8d568bf..0911bbc 100644
--- a/src/templates/templates/header.ftl
+++ b/src/templates/templates/header.ftl
@@ -5,6 +5,9 @@
<#else>
<a href="${dynamicRoot}/index.html"><img src="${staticRoot}/images/logo.png"> Grow Process</a>
</#if>
+ <#if config.getDomain() != "prod">
+ <span class="versiontag">${config.getDomain()}</span>
+ </#if>
<a id="foursquarefloat" href="http://myfoursquarechurch.com"><img src="${staticRoot}/images/foursquaresm.png" alt="Foursqaure Church" /></a>
</h1>