From b537dbd95005508d46aec58d43366444ce758d9b Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Wed, 29 Nov 2017 12:48:22 -0500 Subject: Update the config file and fix the home page when there is no home page blurb --- app/config-example.yml | 2 +- app/dispatch/templates/dispatch/login.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/config-example.yml b/app/config-example.yml index 958d2d0..bae3923 100644 --- a/app/config-example.yml +++ b/app/config-example.yml @@ -52,7 +52,7 @@ DEFAULT_FROM_EMAIL: webmaster@localhost TEMPLATE_VARS: app_name: Subcontractor Invoicing System Demo - login_blurb: Here's an example blurb above the sign-in box + login_blurb: Here's an example blurb above the sign-in box. This can be changed according to your needs. login_info: '

Welcome to a demo Subcontractor Invoicing system. diff --git a/app/dispatch/templates/dispatch/login.html b/app/dispatch/templates/dispatch/login.html index b3df716..2b5d48b 100644 --- a/app/dispatch/templates/dispatch/login.html +++ b/app/dispatch/templates/dispatch/login.html @@ -5,12 +5,12 @@

{% if template_vars.login_info %} -
+
{% autoescape off %}{{template_vars.login_info}}{% endautoescape %}
-
+
{% else %} -
+
{% endif %} {% if template_vars.login_blurb %} {% autoescape off %} -- cgit v1.2.3