diff --git a/ckanext/odsh/templates/page.html b/ckanext/odsh/templates/page.html index c375a0aea8a368742668f5841e94042498de9222..4c7c78fdede177e26a991494e4c43538bdd013a2 100644 --- a/ckanext/odsh/templates/page.html +++ b/ckanext/odsh/templates/page.html @@ -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 %}