diff --git a/flowspec/views.py b/flowspec/views.py index fc9a575ce3fd10fbe17f8ac8ba684f14cf14fdfd..9482dac9512b9b47c697e0a87e0649c27e2a102b 100644 --- a/flowspec/views.py +++ b/flowspec/views.py @@ -118,6 +118,9 @@ def welcome(request): return render( request, 'welcome.html', + { + 'BRANDING': settings.BRANDING + }, ) diff --git a/flowspy/settings.py.dist b/flowspy/settings.py.dist index 57a0532e2ad0a4582e632668642c9ae56708cd7c..84c981e5880be23fd4245a4a6322fa0457e82e1d 100644 --- a/flowspy/settings.py.dist +++ b/flowspy/settings.py.dist @@ -254,6 +254,7 @@ BRANDING = { 'logo': 'fodlogo2.png', 'favicon': 'favicon.ico', 'contact_support': 'GÉANT OC at <a href=\'mailto:support@oc.geant.net\'>support@oc.geant.net</a> or +44 1223 733033.', + 'product_name' : 'Firewall-On-Demand', } SETTINGS_EXPORT = [ diff --git a/templates/welcome.html b/templates/welcome.html index 2faf0882b004c307d54bd0a86e75c5158eac718a..6d3a48e761b2dcda93505fba9908acc35840dcfd 100644 --- a/templates/welcome.html +++ b/templates/welcome.html @@ -31,7 +31,7 @@ <div class="item active"> <img src="{% static 'img/slide2.jpg' %}" alt="FoD" style="width:100%; height:100%; margin: auto; padding:auto;"> <div class="carousel-caption"> - <h2>{{ BRANDING.name }} - Firewall on Demand</h2> + <h2>{{ BRANDING.name }} - {{ BRANDING.product_name|default:'Firewall on Demand' }}</h2> <h4>Protect your network, protect the network</h4> <p> <a href="{% url 'login' %}" type="button" class="btn btn-lg btn-outline btn-primary">{% trans "Join Now" %}</a>