From 526538853a5015cc5dfa265c656493a9fd3ed320 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 6 Mar 2019 22:08:59 -0800 Subject: webface: loud QA/DEV indicators --- python/fatcat_web/templates/base.html | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'python/fatcat_web') diff --git a/python/fatcat_web/templates/base.html b/python/fatcat_web/templates/base.html index 00ea3df2..dd0e786d 100644 --- a/python/fatcat_web/templates/base.html +++ b/python/fatcat_web/templates/base.html @@ -4,7 +4,8 @@ - {% block title %}fatcat!{% endblock %} + {# sorry this line is so long; don't want any whitespace #} + {% block title %}{% if config.FATCAT_DOMAIN.startswith('qa.') %}[QA] {% elif config.FATCAT_DOMAIN.startswith('dev.') %}[DEV] {% endif %}fatcat!{% endblock %} @@ -18,6 +19,19 @@