From bd1f76dba80b4ee74906e30dc932d7e409ef8a33 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Mon, 23 Jun 2014 20:47:42 -0700 Subject: 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. --- src/templates/pages/index.html.ftl | 3 +++ src/templates/templates/header.ftl | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src/templates') 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 @@

+ <#if config.getDomain() != "prod"> + ${config.getDomain()} +

<#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 @@ -4,6 +4,9 @@ Grow Process <#else> Grow Process + + <#if config.getDomain() != "prod"> + ${config.getDomain()} Foursqaure Church -- cgit v1.2.3