diff --git a/static/cnil/_custom.scss b/static/cnil/_custom.scss index 58636322..6cf887cd 100644 --- a/static/cnil/_custom.scss +++ b/static/cnil/_custom.scss @@ -376,7 +376,7 @@ div.widget label { } } -#profile span.label { +#profile .label { color: $font-color; font-weight: bold; } diff --git a/static/ehess/_custom.scss b/static/ehess/_custom.scss index 80e9421b..f67c94a0 100644 --- a/static/ehess/_custom.scss +++ b/static/ehess/_custom.scss @@ -116,7 +116,7 @@ main { } } -#profile .field .label { +#profile .label { color: $tertiary-color; } diff --git a/static/groupe-up/_custom.scss b/static/groupe-up/_custom.scss index 26b706d6..0e9822c7 100644 --- a/static/groupe-up/_custom.scss +++ b/static/groupe-up/_custom.scss @@ -512,15 +512,13 @@ div.column.account-management { div#profile { column-count: 2; - div.field { + .label { border-top: 1px solid #d2d2d2; padding-top: 0.5ex; - page-break-inside: avoid; - } - span.label { color: #5caac2; + break-after: avoid; } - div.value { + .value { color: #929292; } } diff --git a/static/ma-cnil/_custom.scss b/static/ma-cnil/_custom.scss index 5fabbee1..f677f63f 100644 --- a/static/ma-cnil/_custom.scss +++ b/static/ma-cnil/_custom.scss @@ -377,7 +377,7 @@ div.widget label { } } -#profile span.label { +#profile .label { color: $font-color; font-weight: bold; } diff --git a/static/rouen/_custom.scss b/static/rouen/_custom.scss index c05709b0..592c8381 100644 --- a/static/rouen/_custom.scss +++ b/static/rouen/_custom.scss @@ -410,7 +410,7 @@ div#nav #nav-button.toggled + ul li { } /* Account management */ -#profile span.label { +#profile .label { display: block; color: $red; font-size: inherit; diff --git a/static/seine-et-marne-apa/_custom.scss b/static/seine-et-marne-apa/_custom.scss index d3785fc7..a093fab1 100644 --- a/static/seine-et-marne-apa/_custom.scss +++ b/static/seine-et-marne-apa/_custom.scss @@ -571,15 +571,13 @@ div#sidebar + div#columns-wrapper > div.a2-block { div#profile { column-count: 2; - div.field { + .label { border-top: 1px solid #d2d2d2; padding-top: 0.5ex; - page-break-inside: avoid; - } - span.label { color: #5caac2; + break-after: avoid; } - div.value { + .value { color: #535353; } } diff --git a/templates/authentic2/accounts.html b/templates/authentic2/accounts.html index c96bb25b..0236d033 100644 --- a/templates/authentic2/accounts.html +++ b/templates/authentic2/accounts.html @@ -52,11 +52,11 @@ {% endblock %} {% block profile-data %}
- {% if attributes %} - {% for attribute in attributes %} -
- {{ attribute.attribute.label|capfirst }} -
+
+ {% if attributes %} + {% for attribute in attributes %} +
{{ attribute.attribute.label|capfirst }}
+
{% if attribute.values|length == 0 %}(non spécifié) {% elif attribute.values|length == 1 %}{{ attribute.values.0 }}{% else %}
    @@ -65,16 +65,14 @@ {% endfor %}
{% endif %} -
-
- {% endfor %} - {% endif %} - {% if LAST_LOGIN %} -
- Dernière connexion -
{{ LAST_LOGIN }}
-
- {% endif %} + + {% endfor %} + {% endif %} + {% if LAST_LOGIN %} +
Dernière connexion
+
{{ LAST_LOGIN }}
+ {% endif %} +
{% endblock %} {% block profile-bottom %}{% endblock %}