diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2014-06-23 20:47:42 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2014-06-23 20:47:42 -0700 |
commit | bd1f76dba80b4ee74906e30dc932d7e409ef8a33 (patch) | |
tree | 97f24adf658c658b8dc578286ec02152ed7b3c29 /src/templates | |
parent | df554b1754ffc31d2e7a116f197f7784d75039ec (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.ftl | 3 | ||||
-rw-r--r-- | src/templates/templates/header.ftl | 3 |
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> |