Fix #155 -- Remove javascript URIs for CSP (#261)

* remove javascript URIs for CSP

#155

* remove javascript URIs for CSP
Issue 155

Combining js error handling files.
This commit is contained in:
FlaviaBastos
2016-10-05 10:17:54 -06:00
committed by Raphael Michel
parent 689f78d03b
commit 5e3a8325ca
7 changed files with 19 additions and 13 deletions

View File

@@ -7,7 +7,7 @@
<p>{% trans "You do not have access to this page." %}</p>
<p>{{ exception }}</p>
<p class="links">
<a href="javascript:history.back()">{% trans "Take a step back" %}</a>
&middot; <a href="javascript:location.reload()">{% trans "Try again" %}</a>
<a id='goback' href='#'>{% trans "Take a step back" %}</a>
&middot; <a id='reload' href='#'>{% trans "Try again" %}</a>
</p>
{% endblock %}
{% endblock %}