Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai
autoca
Commits
ad7158b5
Commit
ad7158b5
authored
Jan 17, 2012
by
ale
Browse files
replace HELP_URL with a customizable HELP_MESSAGE
parent
f01868f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
autovpn/templates/index.html
View file @
ad7158b5
...
...
@@ -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 %}
autovpn/vpn_app.py
View file @
ad7158b5
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment