{# Copyright (c) 2020 Keitaro AB This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . #} {% ckan_extends %} {% block header_account_notlogged %} {% if h.is_default_login_enabled() %}
  • {% link_for _('Log in'), named_route='user.login' %}
  • {% if h.check_access('user_create') %}
  • {% link_for _('Register'), named_route='user.register', class_='sub' %}
  • {% endif %} {% else %}
  • {% link_for _('Log in'), named_route='saml2auth.saml2login' %}
  • {% endif %} {% endblock %}