Commit ad7158b5 authored by ale's avatar ale

replace HELP_URL with a customizable HELP_MESSAGE

parent f01868f7
......@@ -20,12 +20,8 @@
</p>
</form>
{% if config.get('HELP_URL') %}
<p>
For any issues, there is
<a href="{{ config['HELP_URL'] | safe }}">extensive documentation
available</a>.
</p>
{% if config.get('HELP_MESSAGE') %}
{{ config['HELP_MESSAGE'] | safe }}
{% endif %}
{% endblock %}
......@@ -280,7 +280,6 @@ if __name__ == '__main__':
'VPN_CA_SUBJECT': {'CN': 'test CA', 'O': 'test'},
'VPN_ENDPOINT': 'vpn.example.com',
'VPN_SITE_URL': 'http://localhost:4000/',
'HELP_URL': '/help/',
'FOOTER': '''
<p class="footer">
built by <a href="http://www.autistici.org/">autistici.org</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment