From ad7158b5df8c9cc5081569a48dc2c919d889c7e8 Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Tue, 17 Jan 2012 22:14:43 +0000 Subject: [PATCH] replace HELP_URL with a customizable HELP_MESSAGE --- autovpn/templates/index.html | 8 ++------ autovpn/vpn_app.py | 1 - 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/autovpn/templates/index.html b/autovpn/templates/index.html index 82c16de..eb6df07 100644 --- a/autovpn/templates/index.html +++ b/autovpn/templates/index.html @@ -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 %} diff --git a/autovpn/vpn_app.py b/autovpn/vpn_app.py index 746a72e..62ab73c 100644 --- a/autovpn/vpn_app.py +++ b/autovpn/vpn_app.py @@ -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> -- GitLab