lille: isolate user-info template (#52275)

This commit is contained in:
Thomas Jund 2021-03-26 16:30:11 +01:00
parent 8fc249aba7
commit 24e1ea0a7e
5 changed files with 16 additions and 7 deletions

View File

@ -77,7 +77,14 @@ $form-picto-keywords: adresse, aquabike, archives, asso, attestation, bibliotheq
}
}
#lille-user-info {
#toplinks {
// reset
padding: 0;
border: none;
right: auto;
border-radius: none;
box-shadow: none;
background: url($data_uri_comptepersonnel) 0 5px no-repeat;
background-size: 27px 33px;
font-size: 0.9rem;

View File

@ -1,7 +1,6 @@
{
"label": "Lille",
"variables": {
"include_top_links": false,
"pwa_display": "standalone",
"email_header_img": "img/email-logo.png",
"theme_color": "#e1001a"

View File

@ -5,6 +5,5 @@
<h1 id="logo"><a accesskey="1" href="{% firstof logo_link_url portal_url '/' %}">Mes démarches</a></h1>
{% endblock %}
{% block user-info-user-name %}{{user.first_name}}<br>{{user.last_name}}{% endblock %}
{% block user-info-login-label %}Compte<br>personnel{% endblock %}

View File

@ -0,0 +1,4 @@
{% extends "includes/user-info.html" %}
{% block user-info-user-name %}{{user.first_name}}<br>{{user.last_name}}{% endblock %}
{% block user-info-login-label %}Compte<br>personnel{% endblock %}

View File

@ -1,7 +1,7 @@
{% extends "theme.html" %}
{% block header-top %}
<div id="lille-user-info">
{% block user-info %}{% endblock %}
</div>
{% block top-links %}
{% endblock %}
{% endblock %}
{% block header-content %}{% endblock %}