{% ckan_extends %} {#- The catalogue registers no accounts, so signing in can't help on the registration page. Say where accounts come from instead. -#} {% block login_redirect %} {% if request.path == h.url_for('user.register') %} {% set portal = h.marinerg_portal_url() %}
{%- if portal -%} {% trans portal=portal %}Accounts come from the MARINERG-i access portal.{% endtrans %} {%- else -%} {{ _('Accounts come from the MARINERG-i access portal.') }} {%- endif -%}
{% else %} {{ super() }} {% endif %} {% endblock %}