Commit ad7158b5 authored by ale's avatar ale
Browse files

replace HELP_URL with a customizable HELP_MESSAGE

parent f01868f7
...@@ -20,12 +20,8 @@ ...@@ -20,12 +20,8 @@
</p> </p>
</form> </form>
{% if config.get('HELP_URL') %} {% if config.get('HELP_MESSAGE') %}
<p> {{ config['HELP_MESSAGE'] | safe }}
For any issues, there is
<a href="{{ config['HELP_URL'] | safe }}">extensive documentation
available</a>.
</p>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
...@@ -280,7 +280,6 @@ if __name__ == '__main__': ...@@ -280,7 +280,6 @@ if __name__ == '__main__':
'VPN_CA_SUBJECT': {'CN': 'test CA', 'O': 'test'}, 'VPN_CA_SUBJECT': {'CN': 'test CA', 'O': 'test'},
'VPN_ENDPOINT': 'vpn.example.com', 'VPN_ENDPOINT': 'vpn.example.com',
'VPN_SITE_URL': 'http://localhost:4000/', 'VPN_SITE_URL': 'http://localhost:4000/',
'HELP_URL': '/help/',
'FOOTER': ''' 'FOOTER': '''
<p class="footer"> <p class="footer">
built by <a href="http://www.autistici.org/">autistici.org</a> 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