Skip to content
Snippets Groups Projects
Commit ad2f30cf authored by Ben Adida's avatar Ben Adida
Browse files

added configurability to help email link

parent 79addefc
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ not logged in. [<a href="{{settings.SECURE_URL_HOST}}{% url auth.views.index %}? ...@@ -60,7 +60,7 @@ not logged in. [<a href="{{settings.SECURE_URL_HOST}}{% url auth.views.index %}?
{% for footer_link in settings.FOOTER_LINKS %} {% for footer_link in settings.FOOTER_LINKS %}
| <a href="{{ footer_link.url }}">{{footer_link.text}}</a> | <a href="{{ footer_link.url }}">{{footer_link.text}}</a>
{% endfor %} {% endfor %}
| <a href="mailto:help@heliosvoting.org">Help!</a> | <a href="mailto:{{settings.HELP_EMAIL_ADDRESS}}">Help!</a>
{% if user and user.admin_p %} {% if user and user.admin_p %}
| <a href="{% url helios.stats_views.home %}">Statistics</a> | <a href="{% url helios.stats_views.home %}">Statistics</a>
{% endif %} {% endif %}
......
...@@ -138,6 +138,8 @@ FOOTER_LOGO = False ...@@ -138,6 +138,8 @@ FOOTER_LOGO = False
WELCOME_MESSAGE = get_from_env('WELCOME_MESSAGE', "This is the default message") WELCOME_MESSAGE = get_from_env('WELCOME_MESSAGE', "This is the default message")
HELP_EMAIL_ADDRESS = get_from_env('HELP_EMAIL_ADDRESS', 'help@heliosvoting.org')
AUTH_TEMPLATE_BASE = "server_ui/templates/base.html" AUTH_TEMPLATE_BASE = "server_ui/templates/base.html"
HELIOS_TEMPLATE_BASE = "server_ui/templates/base.html" HELIOS_TEMPLATE_BASE = "server_ui/templates/base.html"
HELIOS_ADMIN_ONLY = False HELIOS_ADMIN_ONLY = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment