diff --git a/ckanext/keycloak/templates/header.html b/ckanext/keycloak/templates/header.html index e06d396..6d583a6 100644 --- a/ckanext/keycloak/templates/header.html +++ b/ckanext/keycloak/templates/header.html @@ -1,23 +1,107 @@ -{# -Copyright (c) 2020 Keitaro AB +{% block header_wrapper %} {% block header_account %} +
+
+ {% block header_account_container_content %} {% if c.userobj %} + + {% else %} + + {% endif %} {% endblock %} +
+
+{% endblock %} + +{% endblock %} diff --git a/ckanext/keycloak/templates/user/login.html b/ckanext/keycloak/templates/user/login.html index e828355..db65bef 100644 --- a/ckanext/keycloak/templates/user/login.html +++ b/ckanext/keycloak/templates/user/login.html @@ -33,8 +33,8 @@

{{ _('Need an Account?') }}

{% endblock %} - {% endblock %} - {% endif %} --> + {% endblock %} --> + {% endif %}