add a danger message if visitor is not using SSL
This commit is contained in:
parent
87b3711fd5
commit
b45ae25b0a
@ -71,6 +71,12 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div id="message_box">
|
||||
{% if not request.is_secure %}
|
||||
<div class="alert alert-danger">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
Your connection is unsecure, please use our <a href="https://{{ WWW_HOST }}/">secure https site</a>.
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<div class="alert alert-{{ message.tags }}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user