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