Skip to content
Snippets Groups Projects
Commit 8db0d6a4 authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Show survey link only if user is not referred from odsh site

parent d8a8a249
Branches
Tags
1 merge request!41Version 2.0.0
......@@ -21,6 +21,7 @@
{% block flash %}
{{ super() }}
{% if not request.referrer or not request.referrer.startswith(h.odsh_public_url()) %}
<div class="alert alert-info" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
......@@ -34,6 +35,8 @@
</p>
</div>
{% endif %}
{% endblock %}
{% block toolbar %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment