misc: apply djhtml (#69422)
This commit is contained in:
parent
464b6dd0de
commit
26c2382615
|
@ -1,8 +1,8 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
{% block content %}
|
||||
<p>Bonjour {{ full_name }},</p>
|
||||
<p>Bonjour {{ full_name }},</p>
|
||||
|
||||
<p>Votre compte sur le site {{site}} a été supprimé.</p>
|
||||
<p>Toutes les données associées seront supprimées aujourd’hui.</p>
|
||||
<p>Vous ne pouvez dès à présent plus vous connecter.</p>
|
||||
<p>Votre compte sur le site {{site}} a été supprimé.</p>
|
||||
<p>Toutes les données associées seront supprimées aujourd’hui.</p>
|
||||
<p>Vous ne pouvez dès à présent plus vous connecter.</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
{% block content %}
|
||||
<p>Bonjour,</p>
|
||||
<p>Pour valider la demande de suppression de votre compte, veuillez cliquer sur le bouton suivant :</p>
|
||||
{% include "emails/button-link.html" with url=deletion_url label="Supprimer mon compte" %}
|
||||
<p>
|
||||
Toutes les données associées seront supprimées.
|
||||
Vous ne pouvez dorénavant plus vous connecter.
|
||||
</p>
|
||||
<p>Bonjour,</p>
|
||||
<p>Pour valider la demande de suppression de votre compte, veuillez cliquer sur le bouton suivant :</p>
|
||||
{% include "emails/button-link.html" with url=deletion_url label="Supprimer mon compte" %}
|
||||
<p>
|
||||
Toutes les données associées seront supprimées.
|
||||
Vous ne pouvez dorénavant plus vous connecter.
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{% block extra-body-class %}{{ block.super }} account-page{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="column profile">
|
||||
<div class="column profile">
|
||||
{% block profile-pre %}{% endblock %}
|
||||
<div class="block" id="a2-profile">
|
||||
{% block profile-top %}{% endblock %}
|
||||
|
@ -42,8 +42,8 @@
|
|||
{% block profile-bottom %}{% endblock %}
|
||||
</div>
|
||||
{% block profile-post %}{% endblock %}
|
||||
</div>
|
||||
<div class="column account-management">
|
||||
</div>
|
||||
<div class="column account-management">
|
||||
{% block account-management-pre %}{% endblock %}
|
||||
<div class="block" id="account-management">
|
||||
{% block account-management-top %}{% endblock %}
|
||||
|
@ -85,5 +85,5 @@
|
|||
{% endfor %}
|
||||
{% endblock %}
|
||||
{% block account-management-post %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
{% block content %}
|
||||
<p>Bonjour,</p>
|
||||
<p>Bonjour,</p>
|
||||
|
||||
<p>
|
||||
À votre demande, un compte vient de vous être créé :
|
||||
</p>
|
||||
<p>
|
||||
À votre demande, un compte vient de vous être créé :
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<ul>
|
||||
{% if user.username %}<li>Identifiant : {{ user.username }}</li>{% endif %}
|
||||
<li>Courriel : {{ user.email }}</li>
|
||||
<li>Prénom : {{ user.first_name }}</li>
|
||||
<li>Nom : {{ user.last_name }}</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
Pour choisir un mot de passe et accéder à votre compte, veuillez cliquer
|
||||
sur le bouton suivant :
|
||||
</p>
|
||||
<p>
|
||||
Pour choisir un mot de passe et accéder à votre compte, veuillez cliquer
|
||||
sur le bouton suivant :
|
||||
</p>
|
||||
|
||||
{% include "emails/button-link.html" with url=reset_url label="Accéder au compte" %}
|
||||
{% include "emails/button-link.html" with url=reset_url label="Accéder au compte" %}
|
||||
|
||||
<p>
|
||||
{% if expiration_days == 1 %}
|
||||
Attention, cette action n’est valide que durant 24 heures.
|
||||
{% else %}
|
||||
Attention, cette action n’est valide que durant {{ expiration_days }} jours.
|
||||
{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
{% if expiration_days == 1 %}
|
||||
Attention, cette action n’est valide que durant 24 heures.
|
||||
{% else %}
|
||||
Attention, cette action n’est valide que durant {{ expiration_days }} jours.
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{% extends "authentic2/base.html" %}
|
||||
|
||||
{% block placeholder-content %}
|
||||
{% block a2-block-pre %}{% endblock %}
|
||||
<div class="a2-block">
|
||||
{% block a2-block-pre %}{% endblock %}
|
||||
<div class="a2-block">
|
||||
{% block form-title %}
|
||||
{% if view.title %}<h2>{{ view.title }}</h2>{% endif %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block a2-block-post %}{% endblock %}
|
||||
</div>
|
||||
{% block a2-block-post %}{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
{% block extra-body-class %}{{ block.super }} authentic-page{% endblock %}
|
||||
|
||||
{% block extra-body-args %}
|
||||
{% block bodyargs %}
|
||||
{% endblock %}
|
||||
{% block bodyargs %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
{% block placeholder-content %}
|
||||
|
@ -13,7 +13,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block messages %}
|
||||
{% if messages %}
|
||||
{% if messages %}
|
||||
<div id="messages" class="messages-login">
|
||||
<ul class="messages">
|
||||
{% for message in messages %}
|
||||
|
@ -21,7 +21,7 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra-top-head %}
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
{% block content %}
|
||||
<p>Bonjour,</p>
|
||||
<p>Bonjour,</p>
|
||||
|
||||
<p>
|
||||
Vous avez demandé à changer l’adresse électronique de votre compte
|
||||
de {{ old_email }} à {{ email }}.
|
||||
</p>
|
||||
<p>
|
||||
Vous avez demandé à changer l’adresse électronique de votre compte
|
||||
de {{ old_email }} à {{ email }}.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Pour valider ce changement, veuillez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
<p>
|
||||
Pour valider ce changement, veuillez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
|
||||
{% include "emails/button-link.html" with url=link label="Valider le changement" %}
|
||||
{% include "emails/button-link.html" with url=link label="Valider le changement" %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -8,34 +8,34 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Login" %}
|
||||
{% trans "Login" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block menu %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "authentic2/service_info_fragment.html" %}
|
||||
{% include "authentic2/service_info_fragment.html" %}
|
||||
|
||||
{% block login-pre %}{% endblock %}
|
||||
<div id="login-page" class="clearfix methods{{ blocks|length }}">
|
||||
{% block login-top %}{% endblock %}
|
||||
{% block login-pre %}{% endblock %}
|
||||
<div id="login-page" class="clearfix methods{{ blocks|length }}">
|
||||
{% block login-top %}{% endblock %}
|
||||
|
||||
{% block login-blocks %}
|
||||
{% for id, login_block in blocks.items %}
|
||||
<div class="block block-{% firstof login_block.authenticator.type login_block.authenticator.id %} block-{{id}}">
|
||||
{% if blocks|length == 1 %}
|
||||
<h2>Connexion</h2>
|
||||
{% endif %}
|
||||
<div {% if login_block.extra_css_class %} class="{{ login_block.extra_css_class }}"{% endif %}>
|
||||
{{ login_block.content|safe }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
{% block login-blocks %}
|
||||
{% for id, login_block in blocks.items %}
|
||||
<div class="block block-{% firstof login_block.authenticator.type login_block.authenticator.id %} block-{{id}}">
|
||||
{% if blocks|length == 1 %}
|
||||
<h2>Connexion</h2>
|
||||
{% endif %}
|
||||
<div {% if login_block.extra_css_class %} class="{{ login_block.extra_css_class }}"{% endif %}>
|
||||
{{ login_block.content|safe }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% block login-bottom %}{% endblock %}
|
||||
</div>
|
||||
{% block login-post %}{% endblock %}
|
||||
{% block login-bottom %}{% endblock %}
|
||||
</div>
|
||||
{% block login-post %}{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block registration %}
|
||||
{% block registration-password-form-pre %}
|
||||
<h2>{% trans "Registration" %}</h2>
|
||||
<p>
|
||||
{% block registration-password-form-pre %}
|
||||
<h2>{% trans "Registration" %}</h2>
|
||||
<p>
|
||||
Après validation de votre adresse électronique, il vous sera envoyé un courriel
|
||||
pour ouvrir votre compte.
|
||||
</p>
|
||||
{% endblock %}
|
||||
{{ block.super }}
|
||||
</p>
|
||||
{% endblock %}
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
{% block content %}
|
||||
<p>Bonjour,</p>
|
||||
<p>Bonjour,</p>
|
||||
|
||||
<p>
|
||||
Votre mot de passe est désormais : <b>{{ new_password }}</b>
|
||||
</p>
|
||||
<p>
|
||||
Votre mot de passe est désormais : <b>{{ new_password }}</b>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Pour rappel, votre identifiant de connexion est : <b>{% firstof user.username user.email %}</b>
|
||||
</p>
|
||||
<p>
|
||||
Pour rappel, votre identifiant de connexion est : <b>{% firstof user.username user.email %}</b>
|
||||
</p>
|
||||
|
||||
{% if portal_user_url %}
|
||||
{% include "emails/button-link.html" with url=portal_user_url label="Accéder au site" %}
|
||||
{% endif %}
|
||||
{% if portal_user_url %}
|
||||
{% include "emails/button-link.html" with url=portal_user_url label="Accéder au site" %}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<p>Bonjour,</p>
|
||||
<p>Bonjour,</p>
|
||||
|
||||
<p>
|
||||
À votre demande, un compte vient de vous être créé :
|
||||
</p>
|
||||
<p>
|
||||
À votre demande, un compte vient de vous être créé :
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<ul>
|
||||
{% if user.username %}<li>Identifiant : {{ user.username }}</li>{% endif %}
|
||||
<li>Courriel : {{ user.email }}</li>
|
||||
<li>Prénom : {{ user.first_name }}</li>
|
||||
<li>Nom : {{ user.last_name }}</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
{% if new_password %}
|
||||
<p>
|
||||
Votre mot de passe est : {{ new_password }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if new_password %}
|
||||
<p>
|
||||
Votre mot de passe est : {{ new_password }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if portal_user_url %}
|
||||
{% include "emails/button-link.html" with url=portal_user_url label="Accéder au site" %}
|
||||
{% endif %}
|
||||
{% if portal_user_url %}
|
||||
{% include "emails/button-link.html" with url=portal_user_url label="Accéder au site" %}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<p>Bonjour,</p>
|
||||
<p>Bonjour,</p>
|
||||
|
||||
<p>
|
||||
Un administrateur a demandé le changement de votre adresse de
|
||||
{{ user.email }} en {{ email }}.
|
||||
</p>
|
||||
<p>
|
||||
Un administrateur a demandé le changement de votre adresse de
|
||||
{{ user.email }} en {{ email }}.
|
||||
</p>
|
||||
|
||||
{% if email_is_not_unique %}
|
||||
<p>
|
||||
Cependant cette adresse est déjà liée à un autre compte.
|
||||
</p>
|
||||
{% if email_is_not_unique %}
|
||||
<p>
|
||||
Cependant cette adresse est déjà liée à un autre compte.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Vous pouvez récupérer un accès à ce compte en utilisant le bouton suivant :
|
||||
</p>
|
||||
<p>
|
||||
Vous pouvez récupérer un accès à ce compte en utilisant le bouton suivant :
|
||||
</p>
|
||||
|
||||
{% include "emails/button-link.html" with url=password_reset_url label="Mot de passe oublié" %}
|
||||
{% include "emails/button-link.html" with url=password_reset_url label="Mot de passe oublié" %}
|
||||
|
||||
{% else %}
|
||||
<p>
|
||||
Pour valider ce changement veuillez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
{% else %}
|
||||
<p>
|
||||
Pour valider ce changement veuillez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
|
||||
{% include "emails/button-link.html" with url=link label="Valider l’adresse" %}
|
||||
{% include "emails/button-link.html" with url=link label="Valider l’adresse" %}
|
||||
|
||||
<p>
|
||||
Attention, cette action est uniquement valide pendant {{ token_lifetime }}.
|
||||
</p>
|
||||
{% endif %}
|
||||
<p>
|
||||
Attention, cette action est uniquement valide pendant {{ token_lifetime }}.
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
{% block content %}
|
||||
<p>Bonjour,</p>
|
||||
<p>Bonjour,</p>
|
||||
|
||||
<p>
|
||||
Vous avez changé le mot de passe de votre compte.
|
||||
</p>
|
||||
<p>
|
||||
Vous avez changé le mot de passe de votre compte.
|
||||
</p>
|
||||
|
||||
{% block warn_if_not_requested %}
|
||||
<p>
|
||||
Si vous n’aviez pas demandé le changement de votre mot de passe, vous pouvez
|
||||
contacter l’équipe « {% firstof global_title site_name site "Compte Citoyen" %} ».
|
||||
</p>
|
||||
{% endblock %}
|
||||
{% block warn_if_not_requested %}
|
||||
<p>
|
||||
Si vous n’aviez pas demandé le changement de votre mot de passe, vous pouvez
|
||||
contacter l’équipe « {% firstof global_title site_name site "Compte Citoyen" %} ».
|
||||
</p>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<p>Bonjour,</p>
|
||||
<p>Bonjour,</p>
|
||||
|
||||
<p>
|
||||
Vous avez oublié votre mot de passe ?
|
||||
</p>
|
||||
<p>
|
||||
Vous avez oublié votre mot de passe ?
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Pour récupérer l'accès à votre compte, veuillez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
<p>
|
||||
Pour récupérer l'accès à votre compte, veuillez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
|
||||
{% include "emails/button-link.html" with url=reset_url label="Choisir un nouveau mot de passe" %}
|
||||
{% include "emails/button-link.html" with url=reset_url label="Choisir un nouveau mot de passe" %}
|
||||
|
||||
<p>
|
||||
Si vous n’êtes pas à l’origine de cette demande, vous pouvez l’ignorer.
|
||||
</p>
|
||||
<p>
|
||||
Si vous n’êtes pas à l’origine de cette demande, vous pouvez l’ignorer.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% if expiration_days == 1 %}
|
||||
Attention, sans validation de votre part dans les 24 heures,
|
||||
votre demande sera annulée.
|
||||
{% else %}
|
||||
Attention, sans validation de votre part dans les {{expiration_days}} jours,
|
||||
votre demande sera annulée.
|
||||
{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
{% if expiration_days == 1 %}
|
||||
Attention, sans validation de votre part dans les 24 heures,
|
||||
votre demande sera annulée.
|
||||
{% else %}
|
||||
Attention, sans validation de votre part dans les {{expiration_days}} jours,
|
||||
votre demande sera annulée.
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
{% block content %}
|
||||
<p>Bonjour {{ user.get_full_name }},</p>
|
||||
<p>Bonjour {{ user.get_full_name }},</p>
|
||||
|
||||
<p>
|
||||
Votre compte a été créé. Pour vous connecter, utilisez les informations suivantes :
|
||||
</p>
|
||||
<p>
|
||||
Votre compte a été créé. Pour vous connecter, utilisez les informations suivantes :
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<ul>
|
||||
<li>{% if user.email %}Courriel : {{ user.email }}{% else %}Identifiant : {{ user.username }}{% endif %}</li>
|
||||
{% if user.has_usable_password %}
|
||||
{% if user.has_usable_password %}
|
||||
<li>Mot de passe : celui que vous venez de choisir lors de l’inscription.</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
{% include "emails/button-link.html" with url=login_url label="Me connecter maintenant" %}
|
||||
{% include "emails/button-link.html" with url=login_url label="Me connecter maintenant" %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
{% load humanize %}
|
||||
|
||||
{% block content %}
|
||||
<p>Bonjour {{ user.get_full_name }},</p>
|
||||
<p>Bonjour {{ user.get_full_name }},</p>
|
||||
|
||||
<p>Votre dernière connexion date d’{{ user.last_login|naturaltime }}.</p>
|
||||
<p>Pour conserver votre compte, il vous suffit de vous connecter avant {{ days_to_deletion }} jours.</p>
|
||||
<p>Votre dernière connexion date d’{{ user.last_login|naturaltime }}.</p>
|
||||
<p>Pour conserver votre compte, il vous suffit de vous connecter avant {{ days_to_deletion }} jours.</p>
|
||||
|
||||
{% include "emails/button-link.html" with url=login_url label="Me connecter maintenant" %}
|
||||
{% include "emails/button-link.html" with url=login_url label="Me connecter maintenant" %}
|
||||
|
||||
<p>Dans le cas contraire, il sera supprimé passé ce délai.</p>
|
||||
<p>Dans le cas contraire, il sera supprimé passé ce délai.</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% load humanize %}
|
||||
|
||||
{% block content %}
|
||||
<p>Bonjour {{ user.get_full_name }},</p>
|
||||
<p>Bonjour {{ user.get_full_name }},</p>
|
||||
|
||||
<p>Votre dernière connexion date d’{{ user.last_login|naturaltime }}, votre compte a donc été supprimé.</p>
|
||||
<p>Votre dernière connexion date d’{{ user.last_login|naturaltime }}, votre compte a donc été supprimé.</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "authentic2_idp_oidc/authorization.html" %}
|
||||
|
||||
{% block a2-block-pre %}
|
||||
{% include "authentic2/service_info_fragment.html" %}
|
||||
{% include "authentic2/service_info_fragment.html" %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{% load i18n beid %}
|
||||
|
||||
<div id="login-beid">
|
||||
<p>
|
||||
Si vous êtes déjà inscrit, vous pouvez aussi vous connecter grâce à votre carte
|
||||
d’identité électronique. Mettez-la dans son lecteur et cliquez sur le bouton
|
||||
ci-dessous.
|
||||
</p>
|
||||
<form id='beid_login' action='{% beid_url request %}{% url "beid_signin" %}'>
|
||||
<button name="{{ submit_name }}">{% trans "Log in" %}</button>
|
||||
</form>
|
||||
<p>
|
||||
Si vous êtes déjà inscrit, vous pouvez aussi vous connecter grâce à votre carte
|
||||
d’identité électronique. Mettez-la dans son lecteur et cliquez sur le bouton
|
||||
ci-dessous.
|
||||
</p>
|
||||
<form id='beid_login' action='{% beid_url request %}{% url "beid_signin" %}'>
|
||||
<button name="{{ submit_name }}">{% trans "Log in" %}</button>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<a class="carrousel-next"></a>
|
||||
</div>
|
||||
<script>
|
||||
$(function() {
|
||||
$(function() {
|
||||
function next() {
|
||||
if ($('.carrousel-content input:checked ~ input').length) {
|
||||
$('.carrousel-content input:checked ~ input').first().click();
|
||||
|
@ -77,5 +77,5 @@ $(function() {
|
|||
next();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
<h2>Votre contact APA</h2>
|
||||
<p class="centre-autonomie"><strong>{{ individu.apa.centreAutonomie|default:"Aucun" }}</strong></p>
|
||||
{% with inst=dossier.suivi.instructeur %}
|
||||
{% if inst %}
|
||||
<p class="contact-info">
|
||||
{% if inst %}
|
||||
<p class="contact-info">
|
||||
{% if inst.prenom or inst.nom %}
|
||||
<span class="name">{{ inst.civilite|default:"" }} {{ inst.prenom|default:"" }} {{ inst.nom|default:"" }}</span><br />
|
||||
{% endif %}
|
||||
{% if inst.telephone %}<span class="phone">{{ inst.telephone }}</span><br />{% endif %}
|
||||
{% if inst.mail %}<span class="email">{{ inst.mail }}</span>{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<h2>Le bénéficiaire</h2>
|
||||
|
||||
<div class="apa-user-info">
|
||||
{% with individu=json.data.individu %}
|
||||
{% with individu=json.data.individu %}
|
||||
|
||||
<p class="date-situation"><em>Situation à la date du {% now "j F Y" %}</em></p>
|
||||
|
||||
|
@ -60,5 +60,5 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
<div class="apa-users clearfix">
|
||||
|
||||
{% for item in json.data|dictsort:"id" %}
|
||||
{% with individu=item.information.individu %}
|
||||
{% for item in json.data|dictsort:"id" %}
|
||||
{% with individu=item.information.individu %}
|
||||
<div class="apa-user apa-user-{{ individu.civilite|slugify }} {{ apa_users_grid|default:"grid-1-2" }}">
|
||||
<a class="apa-user-link" href="apa-details/?user_id={{ item.id }}">
|
||||
<h3>{% include "combo/json/apa-user-label.html" with individu=individu %}</h3>
|
||||
|
@ -17,6 +17,6 @@
|
|||
</a>
|
||||
<a class="remove" href="{{ eservices_url }}suppression-du-lien-avec-un-dossier-apa/?user_id={{ item.id }}&cancelurl={{ site_base }}{{ cell.page.get_online_url }}">×</a>
|
||||
</div>
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% if json.extra_data %}
|
||||
<h2>Agenda de l'année scolaire {{ json.extra_data.school_year }}</h2>
|
||||
<div class="caluire-agenda-cell caluire-agenda-cell-{{ cell.pk }}">
|
||||
{% with first_monday=json.extra_data.start_date|adjust_to_week_monday %}
|
||||
<h2>Agenda de l'année scolaire {{ json.extra_data.school_year }}</h2>
|
||||
<div class="caluire-agenda-cell caluire-agenda-cell-{{ cell.pk }}">
|
||||
{% with first_monday=json.extra_data.start_date|adjust_to_week_monday %}
|
||||
{% with last_day=json.extra_data.end_date|adjust_to_week_monday|add_days:6 %}
|
||||
{% now 'Y-m-W' as current_week %}
|
||||
{% spaceless %}
|
||||
|
@ -44,52 +44,52 @@
|
|||
</a>
|
||||
{% endspaceless %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
<style>
|
||||
.caluire-agenda-cell {
|
||||
{% endwith %}
|
||||
<style>
|
||||
.caluire-agenda-cell {
|
||||
margin-top: 1em;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, auto);
|
||||
grid-template-rows: repeat(2, auto);
|
||||
justify-items: left;
|
||||
--min-column-width: 250;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--previous-week,
|
||||
.caluire-agenda-cell--next-week {
|
||||
.caluire-agenda-cell--previous-week,
|
||||
.caluire-agenda-cell--next-week {
|
||||
height: 3em;
|
||||
width: 3em;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--next-week {
|
||||
.caluire-agenda-cell--next-week {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--edit-btn {
|
||||
.caluire-agenda-cell--edit-btn {
|
||||
grid-column: 2;
|
||||
grid-row: 2;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--week-list {
|
||||
.caluire-agenda-cell--week-list {
|
||||
overflow: hidden;
|
||||
margin-bottom: 2rem;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--slider {
|
||||
.caluire-agenda-cell--slider {
|
||||
column-gap: 0px;
|
||||
display: grid;
|
||||
grid-auto-columns: 0px;
|
||||
grid-auto-rows: 0px;
|
||||
grid-auto-flow: column;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--week-item:nth-child(even) {
|
||||
.caluire-agenda-cell--week-item:nth-child(even) {
|
||||
background: #fafafa;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--week-title {
|
||||
.caluire-agenda-cell--week-title {
|
||||
border-bottom: 1px solid #888;
|
||||
font-weight: bold;
|
||||
margin-bottom: 1rem;
|
||||
|
@ -97,73 +97,73 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 3.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--day-item {
|
||||
.caluire-agenda-cell--day-item {
|
||||
margin: 0 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--day-title {
|
||||
.caluire-agenda-cell--day-title {
|
||||
border-bottom: 1px solid #888;
|
||||
margin: 1rem 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--day-no-activity {
|
||||
.caluire-agenda-cell--day-no-activity {
|
||||
color: #888;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--activity-item + .caluire-agenda-cell--day-no-activity {
|
||||
.caluire-agenda-cell--activity-item + .caluire-agenda-cell--day-no-activity {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--activity-item {
|
||||
.caluire-agenda-cell--activity-item {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
margin: 0.3rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--activty-item.disabled {
|
||||
.caluire-agenda-cell--activty-item.disabled {
|
||||
color: #888;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--activity-status {
|
||||
.caluire-agenda-cell--activity-status {
|
||||
min-height: calc(0.66rem + 2px);
|
||||
min-width: calc(0.66rem + 2px);
|
||||
background: transparent;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 2px;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--activity-label {
|
||||
.caluire-agenda-cell--activity-label {
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--activity-status.green {
|
||||
.caluire-agenda-cell--activity-status.green {
|
||||
background: #3c3;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--activity-status.grey {
|
||||
.caluire-agenda-cell--activity-status.grey {
|
||||
background: #aaa;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--activity-status.orange {
|
||||
.caluire-agenda-cell--activity-status.orange {
|
||||
background: orange;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--activity-status.red {
|
||||
.caluire-agenda-cell--activity-status.red {
|
||||
background: red;
|
||||
}
|
||||
}
|
||||
|
||||
.caluire-agenda-cell--activity-status.yellow {
|
||||
.caluire-agenda-cell--activity-status.yellow {
|
||||
background: yellow;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
</style>
|
||||
|
||||
<script>
|
||||
function initAgendaCell($cell) {
|
||||
<script>
|
||||
function initAgendaCell($cell) {
|
||||
const $weekList = $('.caluire-agenda-cell--week-list', $cell);
|
||||
const $slider = $('.caluire-agenda-cell--slider', $cell);
|
||||
const $currentWeek = $('.caluire-agenda-cell--week-title.current', $cell);
|
||||
|
@ -244,11 +244,11 @@ function initAgendaCell($cell) {
|
|||
hideEmptyDays();
|
||||
new ResizeObserver(updateColumnsWidth).observe($weekList[0]);
|
||||
addEventListener('resize', updateColumnsWidth);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
initAgendaCell($('.caluire-agenda-cell-{{ cell.pk }}'));
|
||||
initAgendaCell($('.caluire-agenda-cell-{{ cell.pk }}'));
|
||||
|
||||
</script>
|
||||
</div>
|
||||
</script>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<h2>{{ json.data.PRENOM }} {{ json.data.NOM }}</h2>
|
||||
<div>
|
||||
<p>Des informations complémentaires sur votre enfant sont disponibles ci-dessous.</p>
|
||||
<p>Des informations complémentaires sur votre enfant sont disponibles ci-dessous.</p>
|
||||
</div>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% now "n" as current_month %}{% if current_month in "678" %}
|
||||
<h2>Prochaines inscriptions</h2>
|
||||
<h2>Prochaines inscriptions</h2>
|
||||
|
||||
<div>
|
||||
{% for activity in json.data.ACTIVITE %}
|
||||
<p><b> {{ activity.LIBELLEACTIVITE }} </b></p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div>
|
||||
{% for activity in json.data.ACTIVITE %}
|
||||
<p><b> {{ activity.LIBELLEACTIVITE }} </b></p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% with child=json %}
|
||||
<h2>{{ child.data.text }}</h2>
|
||||
<div>
|
||||
<div class="grid-1-2">
|
||||
<h2>{{ child.data.text }}</h2>
|
||||
<div>
|
||||
<div class="grid-1-2">
|
||||
<p><b>Informations sur votre enfant</b></p>
|
||||
Date de naissance : {{ child.data.NAISSANCE|date }}<br/>
|
||||
Genre : {% if child.data.SEXE == 'F' %}Féminin{% else %}Masculin{% endif %}<br/>
|
||||
|
@ -9,8 +9,8 @@
|
|||
Ecole : {{ schooling.data.SCOLAIRE.LIBELLEECOLE }} <br/>
|
||||
Classe : {{ schooling.data.SCOLAIRE.IDENTNIVEAU }}<br/>
|
||||
<p><a href="{{ eservices_url }}famille/modifier-mon-dossier-unique-sante-de-mon-enfant/tryauth">Modifier une donnée de santé</a></p>
|
||||
{% endif %}
|
||||
</div><div class="grid-1-2">
|
||||
{% endif %}
|
||||
</div><div class="grid-1-2">
|
||||
<p><b> Les inscriptions en cours</b></p>
|
||||
{% for activity in activities.data.ACTIVITE %}
|
||||
<p>
|
||||
|
@ -24,9 +24,9 @@
|
|||
{% endif %}
|
||||
</p>
|
||||
{% endfor %}
|
||||
<p>
|
||||
{% now "n" as current_month %}
|
||||
{% if current_month in "678" %}<a class="pk-button" href="/espace-famille/child/{{ child.data.id }}">Inscriptions de l'an prochain</a>{% endif %}
|
||||
<a class="pk-button" href="/espace-famille/child/{{ child.data.id }}">Voir l'agenda</a></p>
|
||||
</div>
|
||||
<p>
|
||||
{% now "n" as current_month %}
|
||||
{% if current_month in "678" %}<a class="pk-button" href="/espace-famille/child/{{ child.data.id }}">Inscriptions de l'an prochain</a>{% endif %}
|
||||
<a class="pk-button" href="/espace-famille/child/{{ child.data.id }}">Voir l'agenda</a></p>
|
||||
</div>
|
||||
{% endwith %}
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<h2>Ma Famille</h2>
|
||||
<div>
|
||||
<p>Identifiant famille </br>
|
||||
<b>n° {{ json.data.RESPONSABLE1.FAMILLE.0.IDENTFAMILLE }}</b></br>
|
||||
<a href="{{ eservices_url }}famille/supprimer-le-lien-avec-mon-compte-famille/tryauth">Supprimer la liaison avec mon dossier famille</a></p>
|
||||
<p>Identifiant famille </br>
|
||||
<b>n° {{ json.data.RESPONSABLE1.FAMILLE.0.IDENTFAMILLE }}</b></br>
|
||||
<a href="{{ eservices_url }}famille/supprimer-le-lien-avec-mon-compte-famille/tryauth">Supprimer la liaison avec mon dossier famille</a></p>
|
||||
|
||||
<p><b>Adresse</b></br>
|
||||
{{ json.data.RESPONSABLE1.ADRESSE.NORUE|default:"" }} {{ json.data.RESPONSABLE1.ADRESSE.ADRESSE1|default:"" }}</br>
|
||||
{{ json.data.RESPONSABLE1.ADRESSE.CODEPOSTAL|default:"" }} {{ json.data.RESPONSABLE1.ADRESSE.VILLE|default:"" }}</br>
|
||||
<a href="{{ eservices_url }}famille/modifier-mon-dossier-unique-changement-d-adresse/tryauth">Modifier l'adresse</a></br></br></br></br></br></br></p>
|
||||
<p><b>Adresse</b></br>
|
||||
{{ json.data.RESPONSABLE1.ADRESSE.NORUE|default:"" }} {{ json.data.RESPONSABLE1.ADRESSE.ADRESSE1|default:"" }}</br>
|
||||
{{ json.data.RESPONSABLE1.ADRESSE.CODEPOSTAL|default:"" }} {{ json.data.RESPONSABLE1.ADRESSE.VILLE|default:"" }}</br>
|
||||
<a href="{{ eservices_url }}famille/modifier-mon-dossier-unique-changement-d-adresse/tryauth">Modifier l'adresse</a></br></br></br></br></br></br></p>
|
||||
|
||||
<p><a class="pk-button" href="{{ eservices_url }}famille/modifier-mon-dossier-unique-autre-changement/tryauth">Autre changement</a></p>
|
||||
<p><a class="pk-button" href="{{ eservices_url }}famille/modifier-mon-dossier-unique-autre-changement/tryauth">Autre changement</a></p>
|
||||
</div>
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
<h2>Responsables</h2>
|
||||
<div>
|
||||
<p><b>Responsable du foyer</b>
|
||||
<p>{{ json.data.RESPONSABLE1.CIVILITE|default:"" }} {{ json.data.RESPONSABLE1.PRENOM|default:"" }} {{ json.data.RESPONSABLE1.NOM|default:"" }}</br>
|
||||
Tél : {{ json.data.RESPONSABLE1.TELFIXE|default:"" }} / Mob : {{ json.data.RESPONSABLE1.TELPORTABLE|default:"" }}</br>
|
||||
Courriel : {{ json.data.RESPONSABLE1.MAIL|default:"" }}</br>
|
||||
<a href="{{ eservices_url }}famille/modifier-mon-dossier-unique-telephone-et-courriel/tryauth">Modifier le téléphone ou courriel</a></p>
|
||||
<p><b>Responsable du foyer</b>
|
||||
<p>{{ json.data.RESPONSABLE1.CIVILITE|default:"" }} {{ json.data.RESPONSABLE1.PRENOM|default:"" }} {{ json.data.RESPONSABLE1.NOM|default:"" }}</br>
|
||||
Tél : {{ json.data.RESPONSABLE1.TELFIXE|default:"" }} / Mob : {{ json.data.RESPONSABLE1.TELPORTABLE|default:"" }}</br>
|
||||
Courriel : {{ json.data.RESPONSABLE1.MAIL|default:"" }}</br>
|
||||
<a href="{{ eservices_url }}famille/modifier-mon-dossier-unique-telephone-et-courriel/tryauth">Modifier le téléphone ou courriel</a></p>
|
||||
|
||||
<p><b>Responsable du foyer</b>
|
||||
<p>{{ json.data.RESPONSABLE2.CIVILITE|default:"" }} {{ json.data.RESPONSABLE2.PRENOM|default:"" }} {{ json.data.RESPONSABLE2.NOM|default:"" }}</br>
|
||||
Tél : {{ json.data.RESPONSABLE2.TELFIXE|default:"" }} / Mob : {{ json.data.RESPONSABLE2.TELPORTABLE|default:"" }}</br>
|
||||
Courriel : {{ json.data.RESPONSABLE2.MAIL|default:"" }}</br>
|
||||
<a href="{{ eservices_url }}famille/modifier-mon-dossier-unique-telephone-et-courriel/tryauth">Modifier le téléphone ou courriel</a></p>
|
||||
<p><b>Responsable du foyer</b>
|
||||
<p>{{ json.data.RESPONSABLE2.CIVILITE|default:"" }} {{ json.data.RESPONSABLE2.PRENOM|default:"" }} {{ json.data.RESPONSABLE2.NOM|default:"" }}</br>
|
||||
Tél : {{ json.data.RESPONSABLE2.TELFIXE|default:"" }} / Mob : {{ json.data.RESPONSABLE2.TELPORTABLE|default:"" }}</br>
|
||||
Courriel : {{ json.data.RESPONSABLE2.MAIL|default:"" }}</br>
|
||||
<a href="{{ eservices_url }}famille/modifier-mon-dossier-unique-telephone-et-courriel/tryauth">Modifier le téléphone ou courriel</a></p>
|
||||
|
||||
<p><a class="pk-button" href="{{ eservices_url }}famille/modifier-mon-dossier-unique-changement-de-situation-familiale/tryauth">Changement de situation familiale</a></p>
|
||||
</div>
|
||||
<p><a class="pk-button" href="{{ eservices_url }}famille/modifier-mon-dossier-unique-changement-de-situation-familiale/tryauth">Changement de situation familiale</a></p>
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<h2>Informations abonnement stationnement</h2>
|
||||
<div>
|
||||
{% if not json.data %}
|
||||
<div><p>Vous pouvez relier votre compte Publik à votre compte D-Park via <a href="{{pairing_form_url}}">ce formulaire</a>.</p></div>
|
||||
{% else %}
|
||||
<div class="dpark-infos">
|
||||
{% for info in json.data %}
|
||||
{% if not json.data %}
|
||||
<div><p>Vous pouvez relier votre compte Publik à votre compte D-Park via <a href="{{pairing_form_url}}">ce formulaire</a>.</p></div>
|
||||
{% else %}
|
||||
<div class="dpark-infos">
|
||||
{% for info in json.data %}
|
||||
<h3>{{ info.text }}</h3>
|
||||
<div class="dpark-info-identity section">
|
||||
<h4>Identité</h4>
|
||||
|
@ -46,6 +46,6 @@
|
|||
<div class="field"><span class="label">Modèle</span>: <span class="value">{{info.demande_modelevehicule2}}</span></div>
|
||||
<div class="field"><span class="label">Marque</span>: <span class="value">{{info.demande_marquevehicule2}}</span></div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% if not json.err and json.data %}
|
||||
|
||||
<h2>Mon accompagnement global</h2>
|
||||
<div>
|
||||
<h2>Mon accompagnement global</h2>
|
||||
<div>
|
||||
<div class="rsa-cell--introduction">
|
||||
<p>Je suis (ou j’ai été) accompagné(e) par le Département et par Pôle Emploi.<br/>
|
||||
Pôle Emploi m’aide à trouver un emploi ou une formation.<br/>
|
||||
|
@ -16,6 +16,6 @@
|
|||
</table>
|
||||
{% endwith %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% if not json_brsa.err %}
|
||||
|
||||
<h2>Mes actions d’insertion</h2>
|
||||
<div>
|
||||
<h2>Mes actions d’insertion</h2>
|
||||
<div>
|
||||
<div class="rsa-cell--introduction">
|
||||
<p>Le Département propose des actions qui vont m’aider selon mes besoins.</p>
|
||||
<p>Pour participer je dois en parler à mon référent ou contacter mon territoire d’action sociale.</p>
|
||||
|
@ -30,6 +30,6 @@
|
|||
{% else %}
|
||||
<div class="pk-information"><p>Je n’ai aucune action en cours.</p></div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% if not json.err and json.data %}
|
||||
|
||||
<h2>Mes contacts</h2>
|
||||
<div>
|
||||
<h2>Mes contacts</h2>
|
||||
<div>
|
||||
<h3>Territoire d’Action Sociale{% if json.data.dossier.adresse.lieu.localisation.nomCirconscription %} {{ json.data.dossier.adresse.lieu.localisation.nomCirconscription }}{% endif %}</h3>
|
||||
{% if json.data.dossier.adresse.lieu.localisation.nomCirconscription %}
|
||||
{% with circonscription=json.data.dossier.adresse.lieu.localisation.circonscription %}
|
||||
|
@ -17,6 +17,6 @@
|
|||
|
||||
<h3>Mon interlocuteur</h3>
|
||||
{% include "./rsa-interlocuteur.html" %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% if not json.err and json.data %}
|
||||
|
||||
<h2>Mes indus</h2>
|
||||
<div>
|
||||
<h2>Mes indus</h2>
|
||||
<div>
|
||||
<div class="rsa-cell--introduction">
|
||||
<p>J’ai perçu à tort trop de RSA.</p>
|
||||
<p>J’ai fait une demande pour réduire ou annuler ma dette.</p>
|
||||
|
@ -25,6 +25,6 @@
|
|||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% if json_allocataires.data and json_allocataires.data.soumisDD != "Soumis à droit et devoir" or json_allocataires.data and not json_allocataires.data.oriente %}
|
||||
<!-- NSDD ou SDD NO -->
|
||||
<!-- NSDD ou SDD NO -->
|
||||
|
||||
{% with cli=json.data.dossier.adresse.lieu.localisation.cli %}
|
||||
<ul>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% if not json or json.err or not json.data.etatCivil %}
|
||||
|
||||
<h2>Vos informations sont temporairement indisponibles</h2>
|
||||
<div>
|
||||
<h2>Vos informations sont temporairement indisponibles</h2>
|
||||
<div>
|
||||
<div class="pk-attention"><p>Vos informations sont temporairement indisponibles. Nous vous prions de nous en excuser et de revenir ultérieurement.</p></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% else %}
|
||||
|
||||
{% with ec=json.data.etatCivil %}
|
||||
<h2>{{ ec.genre }} {{ ec.prenom }} {{ ec.nom }}</h2>
|
||||
{% endwith %}
|
||||
{% with ec=json.data.etatCivil %}
|
||||
<h2>{{ ec.genre }} {{ ec.prenom }} {{ ec.nom }}</h2>
|
||||
{% endwith %}
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% if not json or json.err or not json.data.etatCivil %}
|
||||
|
||||
<h2>Vos informations sont temporairement indisponibles</h2>
|
||||
<div>
|
||||
<h2>Vos informations sont temporairement indisponibles</h2>
|
||||
<div>
|
||||
<div class="pk-attention"><p>Vos informations sont temporairement indisponibles. Nous vous prions de nous en excuser et de revenir ultérieurement.</p></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% else %}
|
||||
|
||||
<h2>Je suis</h2>
|
||||
<div>
|
||||
<h2>Je suis</h2>
|
||||
<div>
|
||||
<div class="rsa-cell--datas">
|
||||
{% with ec=json.data.etatCivil %}
|
||||
<p><strong>{{ ec.genre }} {{ ec.prenom }} {{ ec.nom }}</strong></p>
|
||||
|
@ -41,6 +41,6 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% if not json_evenements.data or json_evenements.data.0.dateProposition|date < "31/12/2018"|date %}
|
||||
<!-- Pas d’événements ou dernier événement ancien -->
|
||||
<!-- Pas d’événements ou dernier événement ancien -->
|
||||
{% if json_allocataires.data.rsa_links.conjoint.content %}
|
||||
<h2>Réductions / radiations</h2>
|
||||
<div>
|
||||
|
@ -10,9 +10,9 @@
|
|||
{% endif %}
|
||||
|
||||
{% else %}
|
||||
<!-- Dernier événement récent -->
|
||||
<!-- Dernier événement récent -->
|
||||
|
||||
{% with evenement=json_evenements.data.0 %}
|
||||
{% with evenement=json_evenements.data.0 %}
|
||||
{% with code=evenement.codeTypeEvenementRsa %}
|
||||
|
||||
{% if code == 4 or code == 19 or code == 20 %}
|
||||
|
@ -115,6 +115,6 @@
|
|||
{% endif %}
|
||||
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% if not json.err %}
|
||||
<h2>Ma situation en terme d’accompagnement</h2>
|
||||
<div>
|
||||
<h2>Ma situation en terme d’accompagnement</h2>
|
||||
<div>
|
||||
|
||||
<!-- Début : Introduction -->
|
||||
<div class="rsa-cell--introduction">
|
||||
<!-- Début : Introduction -->
|
||||
<div class="rsa-cell--introduction">
|
||||
<p>
|
||||
<strong>
|
||||
{% if json.data.soumisDD == "Soumis à droit et devoir" %}
|
||||
|
@ -22,12 +22,12 @@
|
|||
{% endif %}
|
||||
</strong>
|
||||
</p>
|
||||
</div>
|
||||
<!-- Fin : Introduction -->
|
||||
</div>
|
||||
<!-- Fin : Introduction -->
|
||||
|
||||
|
||||
<!-- Début : Non orienté -->
|
||||
{% if not json.data.oriente %}
|
||||
<!-- Début : Non orienté -->
|
||||
{% if not json.data.oriente %}
|
||||
<div class="pk-information">
|
||||
{% if json.data.soumisDD != "Soumis à droit et devoir" %}
|
||||
<!-- NSDD -->
|
||||
|
@ -51,14 +51,14 @@
|
|||
<div class="pk-information"><p>Vous n’avez pas de Territoire d’Action Sociale de défini.</p></div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<!-- Fin : Non orienté -->
|
||||
{% endif %}
|
||||
<!-- Fin : Non orienté -->
|
||||
|
||||
|
||||
<!-- Début : Orienté -->
|
||||
<div class="rsa-cell--datas">
|
||||
{% if json.data.oriente %}
|
||||
{% with data=json_evaluations.data %}
|
||||
<!-- Début : Orienté -->
|
||||
<div class="rsa-cell--datas">
|
||||
{% if json.data.oriente %}
|
||||
{% with data=json_evaluations.data %}
|
||||
|
||||
<div>
|
||||
{% if data.typeorientation == "Emploi" %}
|
||||
|
@ -94,7 +94,7 @@
|
|||
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% if json.data.soumisDD != "Soumis à droit et devoir" %}
|
||||
|
@ -160,9 +160,9 @@
|
|||
{% endif %}
|
||||
|
||||
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
<!-- Fin : Orienté -->
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
<!-- Fin : Orienté -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endif %} <!-- if not json.err -->
|
||||
|
|
|
@ -26,52 +26,52 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block extra_top_head %}
|
||||
{{ block.super }}
|
||||
{% block extra_top_head_js %}
|
||||
<script src="{{site_base}}{% xstatic 'jquery' 'jquery.min.js' %}"></script>
|
||||
{% endblock %}
|
||||
{% skeleton_extra_placeholder extra-top-head %}
|
||||
{{ block.super }}
|
||||
{% block extra_top_head_js %}
|
||||
<script src="{{site_base}}{% xstatic 'jquery' 'jquery.min.js' %}"></script>
|
||||
{% endblock %}
|
||||
{% skeleton_extra_placeholder extra-top-head %}
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
{% if page.picture %}
|
||||
<style>
|
||||
:root {
|
||||
<style>
|
||||
:root {
|
||||
--page-picture: url("{{site_base}}{{page.picture.url}}");
|
||||
}
|
||||
{% block msie_css_page_picture %}
|
||||
{# IE11 doesn't support CSS variable and supports() API, so we set it here #}
|
||||
{# and themes that do need a different CSS will have to redefine the #}
|
||||
{# msie_css_page_picture block. #}
|
||||
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
}
|
||||
{% block msie_css_page_picture %}
|
||||
{# IE11 doesn't support CSS variable and supports() API, so we set it here #}
|
||||
{# and themes that do need a different CSS will have to redefine the #}
|
||||
{# msie_css_page_picture block. #}
|
||||
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
body.has-picture nav::after {
|
||||
background-image: url("{{site_base}}{{page.picture.url}}");
|
||||
}
|
||||
}
|
||||
{% endblock %}
|
||||
</style>
|
||||
}
|
||||
{% endblock %}
|
||||
</style>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
{% if portal_agent_url and portal_agent_title %}
|
||||
<script>
|
||||
const PUBLIK_PORTAL_AGENT_URL = "{{portal_agent_url|escapejs}}";
|
||||
const PUBLIK_PORTAL_AGENT_TITLE = "{{portal_agent_title|escapejs}}";
|
||||
</script>
|
||||
{% endif %}
|
||||
<script src="{{site_base}}{% static 'js/combo.public.js' %}?{% start_timestamp %}" async></script>
|
||||
<script src="{{site_base}}{% static 'js/combo.back.js' %}?{% start_timestamp %}" async></script>
|
||||
{% if not no_extra_js %}
|
||||
<script src="{{site_base}}{% static "" %}{{css_variant}}/extra.js?{% start_timestamp %}" async></script>
|
||||
{% endif %}
|
||||
{% skeleton_extra_placeholder extra-head %}
|
||||
{% if portal_agent_url and portal_agent_title %}
|
||||
<script>
|
||||
const PUBLIK_PORTAL_AGENT_URL = "{{portal_agent_url|escapejs}}";
|
||||
const PUBLIK_PORTAL_AGENT_TITLE = "{{portal_agent_title|escapejs}}";
|
||||
</script>
|
||||
{% endif %}
|
||||
<script src="{{site_base}}{% static 'js/combo.public.js' %}?{% start_timestamp %}" async></script>
|
||||
<script src="{{site_base}}{% static 'js/combo.back.js' %}?{% start_timestamp %}" async></script>
|
||||
{% if not no_extra_js %}
|
||||
<script src="{{site_base}}{% static "" %}{{css_variant}}/extra.js?{% start_timestamp %}" async></script>
|
||||
{% endif %}
|
||||
{% skeleton_extra_placeholder extra-head %}
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
{% endblock %}
|
||||
|
||||
{% block bodyattrs %}
|
||||
data-api-root="{{ site_base }}/api/"
|
||||
{% if check_badges %}data-check-badges="true"{% endif %}
|
||||
{% if page.picture %}data-picture="{{site_base}}{{page.picture.url}}"{% endif %}
|
||||
{% skeleton_extra_placeholder extra-body-args %}
|
||||
data-api-root="{{ site_base }}/api/"
|
||||
{% if check_badges %}data-check-badges="true"{% endif %}
|
||||
{% if page.picture %}data-picture="{{site_base}}{{page.picture.url}}"{% endif %}
|
||||
{% skeleton_extra_placeholder extra-body-args %}
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -84,7 +84,7 @@ data-api-root="{{ site_base }}/api/"
|
|||
{% if page.picture %}has-picture{% endif %}
|
||||
{% skeleton_extra_placeholder extra-body-class %}
|
||||
{% if user.is_authenticated %}authenticated-user{% else %}anonymous-user{% endif %}
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
{% endblock %}
|
||||
|
||||
{% block title %} - {% if render_skeleton %}{% skeleton_extra_placeholder title %}{% firstof page_title site_title %}{% end_skeleton_extra_placeholder %}{% else %}{{page.title}}{% endif %}{% endblock %}
|
||||
|
@ -105,15 +105,15 @@ data-api-root="{{ site_base }}/api/"
|
|||
{% endblock %}
|
||||
|
||||
{% block before-main-content %}
|
||||
{{ block.super }}
|
||||
{% if pwa_display == "standalone" %}
|
||||
{% pwa_navigation %}
|
||||
{% endif %}
|
||||
{{ block.super }}
|
||||
{% if pwa_display == "standalone" %}
|
||||
{% pwa_navigation %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block messages %}
|
||||
{{ block.super }}
|
||||
{% placeholder "messages" %}
|
||||
{{ block.super }}
|
||||
{% placeholder "messages" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -152,11 +152,11 @@ data-api-root="{{ site_base }}/api/"
|
|||
{% endblock %}
|
||||
|
||||
{% block body-bottom %}
|
||||
{% skeleton_extra_placeholder service-worker %}
|
||||
{% if page.pk %} {# limit this to concrete pages on combo (ex: not 404) #}
|
||||
{% skeleton_extra_placeholder service-worker %}
|
||||
{% if page.pk %} {# limit this to concrete pages on combo (ex: not 404) #}
|
||||
{% if pwa_display == "standalone" %}
|
||||
<script src="/service-worker-registration.js"></script>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
{% load combo i18n %}
|
||||
|
||||
{% block columns %}
|
||||
<div class="column">
|
||||
{% trans "Left column" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
</div>
|
||||
<div class="column">
|
||||
{% trans "Right column" as name %}
|
||||
{% placeholder "right" name=name %}
|
||||
</div>
|
||||
<div class="column">
|
||||
{% trans "Left column" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
</div>
|
||||
<div class="column">
|
||||
{% trans "Right column" as name %}
|
||||
{% placeholder "right" name=name %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
{% load combo i18n %}
|
||||
|
||||
{% block columns %}
|
||||
<div class="column">
|
||||
{% trans "Left column" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
</div>
|
||||
<div class="column">
|
||||
{% trans "Right column" as name %}
|
||||
{% placeholder "right" name=name %}
|
||||
</div>
|
||||
<div class="column">
|
||||
{% trans "Left column" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
</div>
|
||||
<div class="column">
|
||||
{% trans "Right column" as name %}
|
||||
{% placeholder "right" name=name %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
{% load combo i18n %}
|
||||
|
||||
{% block sidebar %}
|
||||
<div id="sidebar">
|
||||
{% trans "Sidebar" as name %}
|
||||
{% placeholder "sidebar" name=name %}
|
||||
</div>
|
||||
<div id="sidebar">
|
||||
{% trans "Sidebar" as name %}
|
||||
{% placeholder "sidebar" name=name %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{% load i18n %}
|
||||
<h2>Démarches</h2>
|
||||
{% for slug, categories in form_categories.items %}
|
||||
<div class="categories-{{ slug }}">
|
||||
<div class="categories-{{ slug }}">
|
||||
<ul>
|
||||
{% for data in categories.data %}
|
||||
<li><a href="{{ data.url }}">{{ data.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
@ -81,8 +81,8 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body width="100%" bgcolor="#F2F2F2" style="margin: 0; mso-line-height-rule: exactly;">
|
||||
</head>
|
||||
<body width="100%" bgcolor="#F2F2F2" style="margin: 0; mso-line-height-rule: exactly;">
|
||||
<center style="width: 100%; background: #F2F2F2;">
|
||||
|
||||
<div style="max-width: 600px; margin: auto;" class="email-container">
|
||||
|
@ -139,5 +139,5 @@
|
|||
</div>
|
||||
</center>
|
||||
<!-- adapted from http://tedgoas.github.io/Cerberus templates -->
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<br>
|
||||
<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;">
|
||||
<tr>
|
||||
<tr>
|
||||
<td style="border-radius: 3px; background: #7D7D7D; background-color: #7D7D7D; text-align: center;" class="button-td">
|
||||
<a href="{{url}}" style="background: #7D7D7D; background-color: #7D7D7D; border: 15px solid #7D7D7D; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a">
|
||||
<span style="color:#ffffff;" class="button-link">{{label}}</span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends theme_base %}
|
||||
|
||||
{% block messages %}
|
||||
{% if messages %}
|
||||
{% if messages %}
|
||||
<div id="messages" class="messages-login">
|
||||
<ul class="messages">
|
||||
{% for message in messages %}
|
||||
|
@ -9,5 +9,5 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -11,20 +11,20 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block extrascripts %}
|
||||
<link rel="stylesheet" type="text/css" href="{{site_base}}{% static "" %}includes/gadjo-extra.css">
|
||||
{% if portal_agent_extra_css|first == '/' %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ portal_agent_extra_css }}">
|
||||
{% elif portal_agent_extra_css %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_agent_extra_css }}">
|
||||
{% endif %}
|
||||
{% if manager_homepage_url %}
|
||||
<script src="{{manager_homepage_url}}__services.js"></script>
|
||||
<script src="{{manager_homepage_url}}static/portal-agent/js/publik.js?{% start_timestamp %}"></script>
|
||||
{% endif %}
|
||||
<link rel="stylesheet" type="text/css" href="{{site_base}}{% static "" %}includes/gadjo-extra.css">
|
||||
{% if portal_agent_extra_css|first == '/' %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ portal_agent_extra_css }}">
|
||||
{% elif portal_agent_extra_css %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_agent_extra_css }}">
|
||||
{% endif %}
|
||||
{% if manager_homepage_url %}
|
||||
<script src="{{manager_homepage_url}}__services.js"></script>
|
||||
<script src="{{manager_homepage_url}}static/portal-agent/js/publik.js?{% start_timestamp %}"></script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block sidepage %}
|
||||
<div id="sidepage">
|
||||
<div id="sidepage">
|
||||
<span id="applabel">Publik</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</div>
|
||||
|
||||
{% block back-top-script %}
|
||||
<script>
|
||||
<script>
|
||||
var back_top_scrollY;
|
||||
$(function(){
|
||||
var back_top_link = document.querySelector('.back-top--link');
|
||||
|
@ -33,5 +33,5 @@
|
|||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
{% endblock %}
|
|
@ -1,22 +1,22 @@
|
|||
{% load combo %}
|
||||
|
||||
<nav role="navigation" class="site-nav">
|
||||
<div id="nav-wrapper" class="gru-nav-wrapper">
|
||||
{% block nav-pre %}{% endblock %}
|
||||
<div id="nav" class="gru-nav togglable">
|
||||
{% block nav-top %}{% endblock %}
|
||||
<div id="nav-wrapper" class="gru-nav-wrapper">
|
||||
{% block nav-pre %}{% endblock %}
|
||||
<div id="nav" class="gru-nav togglable">
|
||||
{% block nav-top %}{% endblock %}
|
||||
<button id="nav-button" class="gru-nav-button togglable" aria-label="Menu">
|
||||
<span class="sr-only">Ouvrir le menu</span>
|
||||
<span class="icon-bar icon-bar-1"></span>
|
||||
<span class="icon-bar icon-bar-2"></span>
|
||||
<span class="icon-bar icon-bar-3"></span>
|
||||
</button>
|
||||
{% block menu %}
|
||||
{% block menu %}
|
||||
{% show_menu depth=2 ignore_visibility=True %}
|
||||
{% placeholder "menu_right" %}
|
||||
{% endblock %}
|
||||
{% block nav-bottom %}{% endblock %}
|
||||
</div> <!-- nav -->
|
||||
{% block nav-post %}{% endblock %}
|
||||
</div> <!-- nav-wrapper -->
|
||||
{% endblock %}
|
||||
{% block nav-bottom %}{% endblock %}
|
||||
</div> <!-- nav -->
|
||||
{% block nav-post %}{% endblock %}
|
||||
</div> <!-- nav-wrapper -->
|
||||
</nav>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{ cnil_compliant_visits_tracking_js|safe }}
|
||||
}
|
||||
</script>
|
||||
{% elif visits_tracking_js %}
|
||||
{% elif visits_tracking_js %}
|
||||
<script type="text/javascript" src="{{ site_base }}{% static 'js/cookie_usage_consent.js' %}?{% start_timestamp %}"></script>
|
||||
<script type="text/javascript">
|
||||
if (has_consent()) {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{% load combo %}
|
||||
|
||||
{% if include_top_links != False %}
|
||||
<div id="toplinks">
|
||||
{% block user-info %}
|
||||
{% skeleton_extra_placeholder user-info %}
|
||||
<div id="toplinks">
|
||||
{% block user-info %}
|
||||
{% skeleton_extra_placeholder user-info %}
|
||||
{% if user.is_authenticated %}
|
||||
<span class="logged-in">
|
||||
{% if account_url %}<a class="account-link" href="{{ account_url }}">{% endif %}
|
||||
|
@ -19,7 +19,7 @@
|
|||
<a class="registration" href="{{registration_url}}"
|
||||
>{% block user-info-registration-label %}{% include "includes/user-info-registration-label.html" %}{% endblock %}{% endif %}</a></span>
|
||||
{% endif %}
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<p>Votre facture n° {{ invoice.id }}, émise le {{ invoice.creation_date|date:"DATE_FORMAT" }}
|
||||
<p>Votre facture n° {{ invoice.id }}, émise le {{ invoice.creation_date|date:"DATE_FORMAT" }}
|
||||
d’un montant de {{ invoice.amount }}€ est disponible.</p>
|
||||
|
||||
<p>Vous avez la possibilité de <a href="{{ portal_url }}">la voir en ligne</a>.</p>
|
||||
<p>Vous avez la possibilité de <a href="{{ portal_url }}">la voir en ligne</a>.</p>
|
||||
|
||||
{% if invoice.online_payment %}
|
||||
<p>
|
||||
{% if invoice.online_payment %}
|
||||
<p>
|
||||
Pour la régler en ligne, veuillez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
{% include "emails/button-link.html" with url=payment_url label="Régler en ligne" %}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% include "emails/button-link.html" with url=payment_url label="Régler en ligne" %}
|
||||
{% endif %}
|
||||
|
||||
{% if invoice.no_online_payment_reason == 'autobilling' %}
|
||||
<p>Le montant de la facture sera débité de votre compte le {{ invoice.payment_limit_date|date:"DATE_FORMAT" }}.</p>
|
||||
{% endif %}
|
||||
{% if invoice.no_online_payment_reason == 'autobilling' %}
|
||||
<p>Le montant de la facture sera débité de votre compte le {{ invoice.payment_limit_date|date:"DATE_FORMAT" }}.</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,41 +2,41 @@
|
|||
<h2>Appels{% if callee %} (ligne {{callee}}){% endif %}</h2>
|
||||
|
||||
<script>
|
||||
function set_caller(caller) {
|
||||
function set_caller(caller) {
|
||||
$('.combo-search-input').val(caller).trigger('change');
|
||||
|
||||
window.sessionStorage.wcs_submission_context_channel = "phone";
|
||||
window.sessionStorage.wcs_submission_context_caller = caller;
|
||||
$('.backoffice-submission-cell').trigger('combo:submission-context-update');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div id="calls" data-calls="{{ json|as_json }}">
|
||||
{% if json %} {# callee has been set #}
|
||||
<h3>Appel en cours</h3>
|
||||
{% for call in json.data.current %}
|
||||
{% if forloop.first %}
|
||||
<script>
|
||||
$(function() {
|
||||
{% if json %} {# callee has been set #}
|
||||
<h3>Appel en cours</h3>
|
||||
{% for call in json.data.current %}
|
||||
{% if forloop.first %}
|
||||
<script>
|
||||
$(function() {
|
||||
setTimeout(function() { set_caller('{{ call.caller }}') }, 0);
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
<ul><li><span class="caller" title="Chercher ce numéro" data-caller="{{ call.caller }}">
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
<ul><li><span class="caller" title="Chercher ce numéro" data-caller="{{ call.caller }}">
|
||||
{{call.start|parse_datetime|date:"H\hi"}} : {{ call.caller }}
|
||||
</span></li></ul>
|
||||
{% empty %}
|
||||
<div>Pas d’appel en cours</div>
|
||||
{% endfor %}
|
||||
</span></li></ul>
|
||||
{% empty %}
|
||||
<div>Pas d’appel en cours</div>
|
||||
{% endfor %}
|
||||
|
||||
{% for call in json.data.past|slice:":10" %}
|
||||
{% if forloop.first %}<h3>Appels précédents</h3><ul>{% endif %}
|
||||
<li><span class="caller" title="Chercher ce numéro" data-caller="{{ call.caller }}">
|
||||
{% for call in json.data.past|slice:":10" %}
|
||||
{% if forloop.first %}<h3>Appels précédents</h3><ul>{% endif %}
|
||||
<li><span class="caller" title="Chercher ce numéro" data-caller="{{ call.caller }}">
|
||||
{{call.start|parse_datetime|date:"H\hi"}} : {{ call.caller }}
|
||||
</span></li>
|
||||
{% if forloop.last %}</ul>{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</span></li>
|
||||
{% if forloop.last %}</ul>{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
@ -53,7 +53,7 @@ $(function() {
|
|||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$(function() {
|
||||
$('.caller').on('click', function(event) {
|
||||
set_caller($(event.target).data('caller'));
|
||||
});
|
||||
|
@ -103,5 +103,5 @@ $(function() {
|
|||
return false;
|
||||
});
|
||||
{% endif %}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -2,20 +2,20 @@
|
|||
{% load combo gadjo static i18n %}
|
||||
|
||||
{% block css %}
|
||||
<link rel="stylesheet" type="text/css" href="{{site_base}}{% static "" %}includes/gadjo-extra.css">
|
||||
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}portal-agent/css/agent-portal.css"/>
|
||||
{% if portal_agent_extra_css|first == '/' %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ portal_agent_extra_css }}">
|
||||
{% elif portal_agent_extra_css %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_agent_extra_css }}">
|
||||
{% endif %}
|
||||
<link rel="stylesheet" type="text/css" href="{{site_base}}{% static "" %}includes/gadjo-extra.css">
|
||||
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}portal-agent/css/agent-portal.css"/>
|
||||
{% if portal_agent_extra_css|first == '/' %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ portal_agent_extra_css }}">
|
||||
{% elif portal_agent_extra_css %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_agent_extra_css }}">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extrascripts %}
|
||||
<script src="{% static "js/combo.public.js" %}"></script>
|
||||
<script src="/__services.js"></script>
|
||||
<script src="{% static "portal-agent/js/agent-portal.js" %}"></script>
|
||||
<script src="{% static "portal-agent/js/publik.js" %}"></script>
|
||||
<script src="{% static "js/combo.public.js" %}"></script>
|
||||
<script src="/__services.js"></script>
|
||||
<script src="{% static "portal-agent/js/agent-portal.js" %}"></script>
|
||||
<script src="{% static "portal-agent/js/publik.js" %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block page-title %}{% firstof site_title "Publik" %} - {{ page.title }}{% endblock %}
|
||||
|
@ -23,16 +23,16 @@
|
|||
{% block footer %}Combo — Copyright © Entr’ouvert{% endblock %}
|
||||
{% block logout-url %}{{ logout_url }}{% endblock %}
|
||||
{% block bodyargs %}
|
||||
data-api-root="{{ site_base }}/api/"
|
||||
{% if check_badges %}data-check-badges="true"{% endif %}
|
||||
class="page-{{ page.slug }} page-template-{{ page.template_name }} {% with pages.0.slug as section %}{% if section %}section-{{section}}{% endif %}{% endwith %}"
|
||||
data-api-root="{{ site_base }}/api/"
|
||||
{% if check_badges %}data-check-badges="true"{% endif %}
|
||||
class="page-{{ page.slug }} page-template-{{ page.template_name }} {% with pages.0.slug as section %}{% if section %}section-{{section}}{% endif %}{% endwith %}"
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id="portal-agent-content">
|
||||
{% block combo-content %}
|
||||
{% trans "Content" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div id="portal-agent-content">
|
||||
{% block combo-content %}
|
||||
{% trans "Content" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
{% load combo i18n %}
|
||||
|
||||
{% block combo-content %}
|
||||
<div id="page-content" class="columns">
|
||||
<div id="left">
|
||||
{% trans "Left column" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
</div>
|
||||
<div id="right">
|
||||
{% trans "Right column" as name %}
|
||||
{% placeholder "right" name=name %}
|
||||
</div>
|
||||
</div>
|
||||
<div id="page-content" class="columns">
|
||||
<div id="left">
|
||||
{% trans "Left column" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
</div>
|
||||
<div id="right">
|
||||
{% trans "Right column" as name %}
|
||||
{% placeholder "right" name=name %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,21 +2,21 @@
|
|||
{% load combo i18n %}
|
||||
|
||||
{% block combo-content %}
|
||||
<div id="page-content" class="columns">
|
||||
<div id="left">
|
||||
{% trans "Left column" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
</div>
|
||||
<div id="right">
|
||||
{% trans "Right column" as name %}
|
||||
{% placeholder "right" name=name %}
|
||||
</div>
|
||||
</div>
|
||||
<div id="page-content" class="columns">
|
||||
<div id="left">
|
||||
{% trans "Left column" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
</div>
|
||||
<div id="right">
|
||||
{% trans "Right column" as name %}
|
||||
{% placeholder "right" name=name %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
<aside id="sidebar">
|
||||
{% trans "Sidebar" as name %}
|
||||
{% placeholder "sidebar" name=name %}
|
||||
</aside>
|
||||
<aside id="sidebar">
|
||||
{% trans "Sidebar" as name %}
|
||||
{% placeholder "sidebar" name=name %}
|
||||
</aside>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
{% load combo i18n %}
|
||||
|
||||
{% block combo-content %}
|
||||
<div id="page-content">
|
||||
{% trans "Content" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
</div>
|
||||
<div id="page-content">
|
||||
{% trans "Content" as name %}
|
||||
{% placeholder "content" name=name %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
<aside id="sidebar">
|
||||
{% trans "Sidebar" as name %}
|
||||
{% placeholder "sidebar" name=name %}
|
||||
</aside>
|
||||
<aside id="sidebar">
|
||||
{% trans "Sidebar" as name %}
|
||||
{% placeholder "sidebar" name=name %}
|
||||
</aside>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% if results.data %}
|
||||
{% if cell.has_multiple_search_services %}<p class="search-service-label">{{ search_service_label }}</p>{% endif %}
|
||||
<div class="links-list">
|
||||
<ul>
|
||||
{% if cell.has_multiple_search_services %}<p class="search-service-label">{{ search_service_label }}</p>{% endif %}
|
||||
<div class="links-list">
|
||||
<ul>
|
||||
{% for item in results.data %}
|
||||
{% if forloop.counter == 6 %}<li class="see-more"><a href="#">voir tous les résultats</a></li>{% endif %}
|
||||
<li {% if forloop.counter > 5 %}class="hidden"{% endif %}><a
|
||||
|
@ -9,6 +9,6 @@
|
|||
{% if item.description %}<div>{{ item.description|safe }}</div>{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
{% load i18n static %}
|
||||
|
||||
{% block extrascripts %}
|
||||
{{ block.super }}
|
||||
<script src="/__services.js"></script>
|
||||
<script src="{% static "portal-agent/js/publik.js" %}"></script>
|
||||
{{ block.super }}
|
||||
<script src="/__services.js"></script>
|
||||
<script src="{% static "portal-agent/js/publik.js" %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block site-header %}
|
||||
|
@ -20,7 +20,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block sidepage %}
|
||||
<div id="sidepage">
|
||||
<div id="sidepage">
|
||||
<span id="applabel">Publik</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
|
||||
{% block content %}
|
||||
{{ content }}
|
||||
{{ content }}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "qommon/forms/widget.html" %}
|
||||
|
||||
{% block widget-control %}
|
||||
{% with options=widget.get_options|list %}
|
||||
{% with options=widget.get_options|list %}
|
||||
{% with first_monday=options.0.options.details.JOURDATE|adjust_to_week_monday last_option=options|last %}
|
||||
{% with last_day=last_option.options.details.JOURDATE|adjust_to_week_monday|add_days:6 %}
|
||||
{% now 'Y-m-W' as current_week %}
|
||||
|
@ -62,59 +62,59 @@
|
|||
{% endspaceless %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
<style>
|
||||
.template-caluire-reservations-enfant .content {
|
||||
{% endwith %}
|
||||
<style>
|
||||
.template-caluire-reservations-enfant .content {
|
||||
margin-top: 1em;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, auto);
|
||||
grid-template-rows: repeat(2, auto);
|
||||
justify-items: left;
|
||||
--min-column-width: 250;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .previous-week,
|
||||
.template-caluire-reservations-enfant .next-week {
|
||||
.template-caluire-reservations-enfant .previous-week,
|
||||
.template-caluire-reservations-enfant .next-week {
|
||||
height: 3em;
|
||||
width: 3em;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .next-week {
|
||||
.template-caluire-reservations-enfant .next-week {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.template-caluire-reservations-enfant .edit-btn {
|
||||
.template-caluire-reservations-enfant .edit-btn {
|
||||
grid-column: 2;
|
||||
grid-row: 2;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .week-list {
|
||||
.template-caluire-reservations-enfant .week-list {
|
||||
overflow: hidden;
|
||||
margin-bottom: 2rem;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .slider {
|
||||
.template-caluire-reservations-enfant .slider {
|
||||
column-gap: 0px;
|
||||
display: grid;
|
||||
grid-auto-columns: 0px;
|
||||
grid-auto-rows: 0px;
|
||||
grid-auto-flow: column;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .week-title {
|
||||
.template-caluire-reservations-enfant .week-title {
|
||||
display: block;
|
||||
height: 3em;
|
||||
line-height: 3em;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .week-item:nth-child(even) {
|
||||
.template-caluire-reservations-enfant .week-item:nth-child(even) {
|
||||
background: #fafafa;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .week-title {
|
||||
.template-caluire-reservations-enfant .week-title {
|
||||
border-bottom: 1px solid #888;
|
||||
font-weight: bold;
|
||||
margin-bottom: 1rem;
|
||||
|
@ -122,94 +122,94 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 3.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .day-item {
|
||||
.template-caluire-reservations-enfant .day-item {
|
||||
margin: 0 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .day-title {
|
||||
.template-caluire-reservations-enfant .day-title {
|
||||
border-bottom: 1px solid #888;
|
||||
margin: 1rem 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-item {
|
||||
.template-caluire-reservations-enfant .activity-item {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
margin: 0.3rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-item.disabled {
|
||||
.template-caluire-reservations-enfant .activity-item.disabled {
|
||||
color: #888;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-status {
|
||||
.template-caluire-reservations-enfant .activity-status {
|
||||
min-height: calc(0.66rem + 2px);
|
||||
min-width: calc(0.66rem + 2px);
|
||||
background: transparent;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 2px;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-status.green {
|
||||
.template-caluire-reservations-enfant .activity-status.green {
|
||||
background: #3c3;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-status.grey {
|
||||
.template-caluire-reservations-enfant .activity-status.grey {
|
||||
background: #aaa;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-status.orange {
|
||||
.template-caluire-reservations-enfant .activity-status.orange {
|
||||
background: orange;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-status.red {
|
||||
.template-caluire-reservations-enfant .activity-status.red {
|
||||
background: red;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-status.yellow {
|
||||
.template-caluire-reservations-enfant .activity-status.yellow {
|
||||
background: yellow;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-item[data-has-change] .activity-status:not(.green) {
|
||||
.template-caluire-reservations-enfant .activity-item[data-has-change] .activity-status:not(.green) {
|
||||
background: #3f3;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-item[data-has-change] .activity-status.green {
|
||||
.template-caluire-reservations-enfant .activity-item[data-has-change] .activity-status.green {
|
||||
background: orange;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-item[data-has-change] label {
|
||||
.template-caluire-reservations-enfant .activity-item[data-has-change] label {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-item:not(.readonly):not(.disabled) .activity-status {
|
||||
.template-caluire-reservations-enfant .activity-item:not(.readonly):not(.disabled) .activity-status {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-item input {
|
||||
.template-caluire-reservations-enfant .activity-item input {
|
||||
flex-shrink: 0;
|
||||
margin-right: 1rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-item input[disabled] {
|
||||
.template-caluire-reservations-enfant .activity-item input[disabled] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-label {
|
||||
.template-caluire-reservations-enfant .activity-label {
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.template-caluire-reservations-enfant .activity-label label {
|
||||
.template-caluire-reservations-enfant .activity-label label {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
function initAgendaWidget($widget) {
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
function initAgendaWidget($widget) {
|
||||
const $weekList = $('.week-list', $widget);
|
||||
const $slider = $('.slider', $widget);
|
||||
const $currentWeek = $('.week-title.current', $widget);
|
||||
|
@ -290,13 +290,13 @@ function initAgendaWidget($widget) {
|
|||
hideEmptyDays();
|
||||
new ResizeObserver(updateColumnsWidth).observe($weekList[0]);
|
||||
addEventListener('resize', updateColumnsWidth);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
initAgendaWidget($('.template-caluire-reservations-enfant'));
|
||||
initAgendaWidget($('.template-caluire-reservations-enfant'));
|
||||
|
||||
|
||||
$('.template-caluire-reservations-enfant input').on('change', function() {
|
||||
$('.template-caluire-reservations-enfant input').on('change', function() {
|
||||
if ($(this).is(':checked')) {
|
||||
var $current_item = $(this).parents('.activity-item').first();
|
||||
$(this).parents('.day-item').find('.activity-item[data-activity-type="' +
|
||||
|
@ -304,6 +304,6 @@ $('.template-caluire-reservations-enfant input').on('change', function() {
|
|||
$current_item.data('date') + '"]:not([data-activity-id="' +
|
||||
$current_item.data('activity-id') + '"])').find('input').prop('checked', false);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
{% extends "qommon/forms/widget.html" %}
|
||||
|
||||
{% block widget-control %}
|
||||
{% with options=widget.get_options|list %}
|
||||
{% with options=widget.get_options|list %}
|
||||
|
||||
{% with first_monday=options.0.options.date|date|adjust_to_week_monday last_option=options|last %}
|
||||
{% with last_day=last_option.options.date|date|adjust_to_week_monday|add_days:6 %}
|
||||
{% now 'Y-m-d' as now %}
|
||||
{% with first_monday=options.0.options.date|date|adjust_to_week_monday last_option=options|last %}
|
||||
{% with last_day=last_option.options.date|date|adjust_to_week_monday|add_days:6 %}
|
||||
{% now 'Y-m-d' as now %}
|
||||
|
||||
<button class="previous-week">←</button>
|
||||
<ul>
|
||||
{% for day in first_monday|iterate_days_until:last_day %}
|
||||
{% if day.weekday == 0 %}
|
||||
{% if not forloop.first %}</ul></li>{% endif %}
|
||||
<li class="week{% if forloop.first %} shown{% endif %}"><span class="week-title">Semaine<br class="weekbreak"> du {{day|date:"d/m"}} au {{day|add_days:6|date:"d/m"}}</span><ul>
|
||||
{% endif %}
|
||||
<li class="day-title {% if form.var.current_day == day|date:"Y-m-d" or not form.var.current_day and now == day|date:"Y-m-d" %}current{% endif %}" data-weekday="{{day.weekday}}"><strong>{{day|date:"l d/m"}}</strong></li>
|
||||
<button class="previous-week">←</button>
|
||||
<ul>
|
||||
{% for day in first_monday|iterate_days_until:last_day %}
|
||||
{% if day.weekday == 0 %}
|
||||
{% if not forloop.first %}</ul></li>{% endif %}
|
||||
<li class="week{% if forloop.first %} shown{% endif %}"><span class="week-title">Semaine<br class="weekbreak"> du {{day|date:"d/m"}} au {{day|add_days:6|date:"d/m"}}</span><ul>
|
||||
{% endif %}
|
||||
<li class="day-title {% if form.var.current_day == day|date:"Y-m-d" or not form.var.current_day and now == day|date:"Y-m-d" %}current{% endif %}" data-weekday="{{day.weekday}}"><strong>{{day|date:"l d/m"}}</strong></li>
|
||||
{% with day_str=day|date:"Y-m-d" %}
|
||||
{% for option in options %}
|
||||
{% if option.options.date == day_str %}
|
||||
|
@ -46,68 +46,68 @@
|
|||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% if forloop.last %}</ul></li>{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<button class="next-week">→</button>
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
<style>
|
||||
.template-famille-reservations-par-semaine .content {
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<button class="next-week">→</button>
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
<style>
|
||||
.template-famille-reservations-par-semaine .content {
|
||||
margin-top: 1em;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.template-famille-reservations-par-semaine .content ul li label {
|
||||
.template-famille-reservations-par-semaine .content ul li label {
|
||||
line-height: 150%;
|
||||
}
|
||||
}
|
||||
|
||||
.template-famille-reservations-par-semaine.widget-readonly .content {
|
||||
.template-famille-reservations-par-semaine.widget-readonly .content {
|
||||
margin-right: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
.template-famille-reservations-par-semaine .content > ul {
|
||||
.template-famille-reservations-par-semaine .content > ul {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.template-famille-reservations-par-semaine .content > ul > li {
|
||||
.template-famille-reservations-par-semaine .content > ul > li {
|
||||
display: none;
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content > ul > li.shown {
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content > ul > li.shown {
|
||||
display: block;
|
||||
}
|
||||
.template-famille-reservations-par-semaine button.previous-week,
|
||||
.template-famille-reservations-par-semaine button.next-week {
|
||||
}
|
||||
.template-famille-reservations-par-semaine button.previous-week,
|
||||
.template-famille-reservations-par-semaine button.next-week {
|
||||
height: 3em;
|
||||
z-index: 10;
|
||||
}
|
||||
.template-famille-reservations-par-semaine button.previous-week {
|
||||
}
|
||||
.template-famille-reservations-par-semaine button.previous-week {
|
||||
margin-left: 0;
|
||||
margin-right: 1em;
|
||||
}
|
||||
.template-famille-reservations-par-semaine button.next-week {
|
||||
}
|
||||
.template-famille-reservations-par-semaine button.next-week {
|
||||
margin-left: 1em;
|
||||
margin-right: 0;
|
||||
}
|
||||
.template-famille-reservations-par-semaine .week-title {
|
||||
}
|
||||
.template-famille-reservations-par-semaine .week-title {
|
||||
display: block;
|
||||
height: 3em;
|
||||
line-height: 3em;
|
||||
}
|
||||
.template-famille-reservations-par-semaine li.day-title {
|
||||
}
|
||||
.template-famille-reservations-par-semaine li.day-title {
|
||||
margin: 1em 0 0.5em 0;
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content label {
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content label {
|
||||
position: relative;
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input[disabled] {
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input[disabled] {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input[disabled] + span {
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input[disabled] + span {
|
||||
padding-left: 1.66rem;
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input[disabled] + span::before {
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input[disabled] + span::before {
|
||||
display: block;
|
||||
content: '';
|
||||
position: absolute;
|
||||
|
@ -119,11 +119,11 @@
|
|||
left: 0;
|
||||
border: 1px solid black;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input[disabled] + span::before {
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input[disabled] + span::before {
|
||||
border: 1px solid #aaa;
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input[disabled] + span::after {
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input[disabled] + span::after {
|
||||
display: block;
|
||||
content: '';
|
||||
position: absolute;
|
||||
|
@ -134,40 +134,40 @@
|
|||
transition: background 0.1s linear;
|
||||
top: calc(0.33rem + 1px);
|
||||
left: 1px;
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input:checked + span::after {
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content input:checked + span::after {
|
||||
background: #3c3;
|
||||
}
|
||||
}
|
||||
|
||||
.template-famille-reservations-par-semaine .content [data-status=booked] input[disabled] + span::after {
|
||||
.template-famille-reservations-par-semaine .content [data-status=booked] input[disabled] + span::after {
|
||||
background: #3c3;
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content [data-status=absence] input[disabled] + span::after {
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content [data-status=absence] input[disabled] + span::after {
|
||||
background: red;
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content [data-status=cancelled] input[disabled] + span::after {
|
||||
}
|
||||
.template-famille-reservations-par-semaine .content [data-status=cancelled] input[disabled] + span::after {
|
||||
background: yellow;
|
||||
}
|
||||
}
|
||||
|
||||
div.CheckboxesWidget.template-famille-reservations-par-semaine div.content ul li.disabled {
|
||||
div.CheckboxesWidget.template-famille-reservations-par-semaine div.content ul li.disabled {
|
||||
color: #888;
|
||||
}
|
||||
}
|
||||
|
||||
.template-famille-reservations-par-semaine.widget-readonly .content [data-has-change] input[disabled]:checked + span::after {
|
||||
.template-famille-reservations-par-semaine.widget-readonly .content [data-has-change] input[disabled]:checked + span::after {
|
||||
background: #3f3;
|
||||
}
|
||||
}
|
||||
|
||||
.template-famille-reservations-par-semaine.widget-readonly .content [data-status=booked][data-has-change] input[disabled]:not(:checked) + span::after {
|
||||
.template-famille-reservations-par-semaine.widget-readonly .content [data-status=booked][data-has-change] input[disabled]:not(:checked) + span::after {
|
||||
background: yellow;
|
||||
}
|
||||
}
|
||||
|
||||
.template-famille-reservations-par-semaine .content [data-has-change] label {
|
||||
.template-famille-reservations-par-semaine .content [data-has-change] label {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
br.weekbreak { display: none; }
|
||||
br.weekbreak { display: none; }
|
||||
|
||||
@media screen and (max-width: 500px) {
|
||||
@media screen and (max-width: 500px) {
|
||||
|
||||
br.weekbreak { display: block; }
|
||||
|
||||
|
@ -180,62 +180,62 @@ br.weekbreak { display: none; }
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
|
||||
function refresh_week_classes() {
|
||||
function refresh_week_classes() {
|
||||
$('p.activite').hide();
|
||||
$('.week.shown [data-date]').each(function(idx, elem) {
|
||||
$('.activite-' + $(elem).data('date')).show();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
$('.template-famille-reservations-par-semaine .previous-week').on('click', function() {
|
||||
$('.template-famille-reservations-par-semaine .previous-week').on('click', function() {
|
||||
var $prev = $('li.shown').prev();
|
||||
if ($prev.length) { $('li.shown').removeClass('shown'); $prev.addClass('shown'); }
|
||||
refresh_week_classes();
|
||||
return false;
|
||||
});
|
||||
$('.template-famille-reservations-par-semaine .next-week').on('click', function() {
|
||||
});
|
||||
$('.template-famille-reservations-par-semaine .next-week').on('click', function() {
|
||||
var $next = $('li.shown').next();
|
||||
if ($next.length) { $('li.shown').removeClass('shown'); $next.addClass('shown'); }
|
||||
refresh_week_classes();
|
||||
return false;
|
||||
});
|
||||
$('.template-famille-reservations-par-semaine li.day-title').each(function(idx, elem) {
|
||||
});
|
||||
$('.template-famille-reservations-par-semaine li.day-title').each(function(idx, elem) {
|
||||
/* hide empty days */
|
||||
var $next = $(elem).next();
|
||||
if ($next.length == 0 || $next.is('.day-title')) {
|
||||
$(elem).hide();
|
||||
}
|
||||
});
|
||||
/* check overlaps */
|
||||
$('.template-famille-reservations-par-semaine input').on('change', function() {
|
||||
});
|
||||
/* check overlaps */
|
||||
$('.template-famille-reservations-par-semaine input').on('change', function() {
|
||||
if ($(this).is(':checked')) {
|
||||
$(this).parents('ul').find("input[data-overlaps~='"+$(this).data('event-id')+"']").prop('checked', false);
|
||||
}
|
||||
});
|
||||
$('.template-famille-reservations-par-semaine input:disabled').each(function(index) {
|
||||
});
|
||||
$('.template-famille-reservations-par-semaine input:disabled').each(function(index) {
|
||||
if ($(this).attr('checked')) {
|
||||
$(this).parents('ul').find("input[data-overlaps~='"+$(this).data('event-id')+"']").prop('disabled', true);
|
||||
}
|
||||
});
|
||||
/* init first week shown */
|
||||
var $cell = $('.template-famille-reservations-par-semaine');
|
||||
$cell.find('li').removeClass('shown');
|
||||
if ($('li.day-title.current', $cell).length) {
|
||||
});
|
||||
/* init first week shown */
|
||||
var $cell = $('.template-famille-reservations-par-semaine');
|
||||
$cell.find('li').removeClass('shown');
|
||||
if ($('li.day-title.current', $cell).length) {
|
||||
$('li.day-title.current', $cell).parents('li.week').addClass('shown');
|
||||
} else {
|
||||
} else {
|
||||
$('li', $cell).first().addClass('shown');
|
||||
}
|
||||
}
|
||||
|
||||
refresh_week_classes();
|
||||
refresh_week_classes();
|
||||
|
||||
var observer = new MutationObserver(refresh_week_classes);
|
||||
$('.comment-field').each(function(idx, elem) {
|
||||
var observer = new MutationObserver(refresh_week_classes);
|
||||
$('.comment-field').each(function(idx, elem) {
|
||||
observer.observe(elem, {attributes: true, childList: true})
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{% extends "qommon/forms/widget.html" %}
|
||||
|
||||
{% block widget-control %}
|
||||
<ul>
|
||||
{% regroup widget.get_options by options.day as options_list %}
|
||||
{% for day, options in options_list %}
|
||||
<li class="day-title"><strong>{{ day }}</strong></li>
|
||||
<ul>
|
||||
{% for option in options %}
|
||||
<ul>
|
||||
{% regroup widget.get_options by options.day as options_list %}
|
||||
{% for day, options in options_list %}
|
||||
<li class="day-title"><strong>{{ day }}</strong></li>
|
||||
<ul>
|
||||
{% for option in options %}
|
||||
<li data-date="{{ option.options.date }}"><label><input
|
||||
{% if option.selected %}checked="checked"
|
||||
{% elif widget.readonly or option.disabled %}disabled{% endif %}
|
||||
|
@ -19,38 +19,38 @@
|
|||
{% endif %}><span>{{ option.options.label }}</span></label>
|
||||
{% if widget.readonly and option.selected %}<input type="hidden" name="{{ option.name }}" value="yes">{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<style>
|
||||
.template-famille-reservations-recurrentes .content {
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<style>
|
||||
.template-famille-reservations-recurrentes .content {
|
||||
margin-top: 1em;
|
||||
display: flex;
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content ul li label {
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content ul li label {
|
||||
line-height: 150%;
|
||||
}
|
||||
.template-famille-reservations-recurrentes.widget-readonly .content {
|
||||
}
|
||||
.template-famille-reservations-recurrentes.widget-readonly .content {
|
||||
margin-right: 1em;
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content > ul {
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content > ul {
|
||||
width: 100%;
|
||||
}
|
||||
.template-famille-reservations-recurrentes li.day-title {
|
||||
}
|
||||
.template-famille-reservations-recurrentes li.day-title {
|
||||
margin: 1em 0 0.5em 0;
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content label {
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content label {
|
||||
position: relative;
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content input[disabled] {
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content input[disabled] {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content input[disabled] + span {
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content input[disabled] + span {
|
||||
padding-left: 1.66rem;
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content input[disabled] + span::before {
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content input[disabled] + span::before {
|
||||
display: block;
|
||||
content: '';
|
||||
position: absolute;
|
||||
|
@ -62,8 +62,8 @@
|
|||
left: 0;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content input[disabled] + span::after {
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content input[disabled] + span::after {
|
||||
display: block;
|
||||
content: '';
|
||||
position: absolute;
|
||||
|
@ -74,17 +74,17 @@
|
|||
transition: background 0.1s linear;
|
||||
top: calc(0.33rem + 1px);
|
||||
left: 1px;
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content input[disabled]:checked + span::after {
|
||||
}
|
||||
.template-famille-reservations-recurrentes .content input[disabled]:checked + span::after {
|
||||
background: #3c3;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
/* check overlaps */
|
||||
$('.template-famille-reservations-recurrentes input').on('change', function() {
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
/* check overlaps */
|
||||
$('.template-famille-reservations-recurrentes input').on('change', function() {
|
||||
if ($(this).is(':checked')) {
|
||||
$(this).parents('ul').find("input[data-overlaps~='"+$(this).data('event-id')+"']").prop('checked', false);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<script type="text/javascript" src="/static/js/qommon.fileupload.js"></script>
|
||||
|
||||
<script>
|
||||
$.CartaDs = {
|
||||
$.CartaDs = {
|
||||
change: function() {
|
||||
var $widget = $(this).parents('.file-upload-widget');
|
||||
var token = $widget.find('input[type=hidden]').val();
|
||||
|
@ -16,12 +16,12 @@ $.CartaDs = {
|
|||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$('.file-upload-widget input[type=file]').on('change', $.CartaDs.change);
|
||||
$('.file-upload-widget.has-file input[type=file]').each($.CartaDs.change);
|
||||
$('.file-upload-widget input[type=file]').on('change', $.CartaDs.change);
|
||||
$('.file-upload-widget.has-file input[type=file]').each($.CartaDs.change);
|
||||
|
||||
$('button.plus').on('click', function() {
|
||||
$('button.plus').on('click', function() {
|
||||
var $orig_file_button = $(this).parent().prev();
|
||||
if (! $orig_file_button.is(':visible')) {
|
||||
$orig_file_button.addClass('visible');
|
||||
|
@ -39,10 +39,10 @@ $('button.plus').on('click', function() {
|
|||
$(this).attr('disabled', true);
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
$(function() {
|
||||
$(function() {
|
||||
$('.cartads-piece .file-upload-widget').each($.WcsFileUpload.prepare);
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load i18n %}
|
||||
<div class="cartads-piece view-{{ view_name }} ">
|
||||
<div class="cartads-piece view-{{ view_name }} ">
|
||||
<div class="title grid-1-1 newline">{% if piece.codePiece %}{{ piece.codePiece }} - {% endif %}{{ piece.text }}
|
||||
{% if piece.reglementaire and view_name != 'validation' %}<span class="required">*</span>{% endif %}</div>
|
||||
|
||||
|
@ -39,4 +39,4 @@
|
|||
<button class="plus">+</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -5,20 +5,20 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block widget-content %}
|
||||
{% if form %}
|
||||
<input type="hidden" name="{{widget.name}}$latlng">
|
||||
<div id="map-{{widget.name}}" class="qommon-map nearby-forms--map"
|
||||
{% if form %}
|
||||
<input type="hidden" name="{{widget.name}}$latlng">
|
||||
<div id="map-{{widget.name}}" class="qommon-map nearby-forms--map"
|
||||
data-readonly="true"
|
||||
{% for key, value in widget.map_attributes.items %}{{key}}="{{value}}" {% endfor %}
|
||||
{% localize off %}
|
||||
data-init-lat="{{ global_context.form_var_carte_lat }}"
|
||||
data-init-lng="{{ global_context.form_var_carte_lon }}"
|
||||
{% endlocalize %}
|
||||
></div>
|
||||
{% block list-header %}
|
||||
></div>
|
||||
{% block list-header %}
|
||||
<h3>Si votre signalement ne figure pas dans la liste ci-dessous, continuez</h3>
|
||||
{% endblock %}
|
||||
<ul class="nearby-forms">
|
||||
{% endblock %}
|
||||
<ul class="nearby-forms">
|
||||
{% with distance=global_context.form_option_distance|default:100|add:50 %}
|
||||
{% with demands=form.objects.pending|distance_filter:distance %}
|
||||
{% for formdata in demands %}
|
||||
|
@ -38,18 +38,18 @@
|
|||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
</ul>
|
||||
<script src="{% static 'xstatic/jquery-ui.js' %}"></script>
|
||||
<script src="{% static 'js/plus1.js' %}"></script>
|
||||
{% else %} {# no form, this is the admin preview #}
|
||||
<div class="infonotice">
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
</ul>
|
||||
<script src="{% static 'xstatic/jquery-ui.js' %}"></script>
|
||||
<script src="{% static 'js/plus1.js' %}"></script>
|
||||
{% else %} {# no form, this is the admin preview #}
|
||||
<div class="infonotice">
|
||||
{% block preview-impossible %}
|
||||
Signalements à proximité, prévisualisation impossible.
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
{% extends "qommon/forms/widgets/comment.html" %}
|
||||
|
||||
{% block widget-content %}
|
||||
{% if form_tracking_code %}
|
||||
{% with webservice.cartads_pieces.data as pieces %}
|
||||
{% for piece in pieces %}
|
||||
{% if form_tracking_code %}
|
||||
{% with webservice.cartads_pieces.data as pieces %}
|
||||
{% for piece in pieces %}
|
||||
{% if piece.section_start %}<div class="grid-1-1 newline {{ piece.section_start|slugify }}"><h3>{{ piece.section_start }}</h3></div>{% endif %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-piece.html" with piece=piece grid="grid-1-3" view_name=publisher.get_request.view_name only %}
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% if publisher.get_request.view_name != 'validation' %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-js.html" only %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div class="infonotice">Prévisualisation impossible.</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% if publisher.get_request.view_name != 'validation' %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-js.html" only %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div class="infonotice">Prévisualisation impossible.</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% extends "qommon/forms/widgets/comment.html" %}
|
||||
|
||||
{% block widget-content %}
|
||||
{% if form_tracking_code %}
|
||||
{% with webservice.cartads_pieces_complementaires.data as pieces %}
|
||||
{% for piece in pieces %}
|
||||
{% if form_tracking_code %}
|
||||
{% with webservice.cartads_pieces_complementaires.data as pieces %}
|
||||
{% for piece in pieces %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-piece.html" with piece=piece grid="grid-1-2" only %}
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-js.html" only %}
|
||||
{% else %}
|
||||
<div class="infonotice">Prévisualisation impossible.</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-js.html" only %}
|
||||
{% else %}
|
||||
<div class="infonotice">Prévisualisation impossible.</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% extends "qommon/forms/widgets/comment.html" %}
|
||||
|
||||
{% block widget-content %}
|
||||
{% if global_context.form_var_dossier_tracking_code %}
|
||||
{% with webservice.cartads_pieces_daact.data as pieces %}
|
||||
{% for piece in pieces %}
|
||||
{% if global_context.form_var_dossier_tracking_code %}
|
||||
{% with webservice.cartads_pieces_daact.data as pieces %}
|
||||
{% for piece in pieces %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-piece.html" with piece=piece grid="grid-1-3" only %}
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-js.html" only %}
|
||||
{% else %}
|
||||
<div class="infonotice">Prévisualisation impossible.</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-js.html" only %}
|
||||
{% else %}
|
||||
<div class="infonotice">Prévisualisation impossible.</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% extends "qommon/forms/widgets/comment.html" %}
|
||||
|
||||
{% block widget-content %}
|
||||
{% if global_context.form_var_dossier_tracking_code %}
|
||||
{% with webservice.cartads_pieces_doc.data as pieces %}
|
||||
{% for piece in pieces %}
|
||||
{% if global_context.form_var_dossier_tracking_code %}
|
||||
{% with webservice.cartads_pieces_doc.data as pieces %}
|
||||
{% for piece in pieces %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-piece.html" with piece=piece grid="grid-1-3" only %}
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-js.html" only %}
|
||||
{% else %}
|
||||
<div class="infonotice">Prévisualisation impossible.</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% include "qommon/forms/widgets/includes/cartads-js.html" only %}
|
||||
{% else %}
|
||||
<div class="infonotice">Prévisualisation impossible.</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
{% block widget-control %}
|
||||
|
||||
{% for option in widget.get_options %}
|
||||
<label class="star-choice"
|
||||
{% for option in widget.get_options %}
|
||||
<label class="star-choice"
|
||||
title="{{ option.label }}"
|
||||
{% if option.disabled %}class="disabled"{% endif %}><input
|
||||
{% if option.selected %}checked="checked"
|
||||
|
@ -15,10 +15,10 @@
|
|||
type="radio" name="{{ widget.name }}"
|
||||
value="{{ option.value }}"><span class="star" aria-hidden="true"></span><span class="star-label">{{ option.label }}</span></label>
|
||||
{% if not forloop.last %}{{ widget.delim|safe }}{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
<script>
|
||||
$(function() {
|
||||
var $widget = $('#form_label_{{widget.name}}').parents('div.widget');
|
||||
$widget.find('.star-choice input').on('change', function() {
|
||||
if ($(this).is(':checked')) {
|
||||
|
@ -28,7 +28,7 @@ $(function() {
|
|||
}
|
||||
});
|
||||
$widget.find('input:checked').trigger('change');
|
||||
});
|
||||
</script>
|
||||
});
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
{% extends "qommon/forms/widget.html" %}
|
||||
{% load qommon %}
|
||||
{% block widget-control %}
|
||||
<select style="display: none;" id="form_{{widget.name}}" name="{{widget.name}}"
|
||||
<select style="display: none;" id="form_{{widget.name}}" name="{{widget.name}}"
|
||||
{% for attr in widget.attrs.items %}{{attr.0}}="{{attr.1}}"{% endfor %}>
|
||||
<option value="">---</option>
|
||||
{% for option in widget.get_options %}
|
||||
<option data-index="{{ forloop.counter }}" {% for attr in option.attrs.items %} {{attr.0}}="{{attr.1}}"{% endfor %}
|
||||
>{{ option.description }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<div class="star-choice">
|
||||
{% for option in widget.get_options %}
|
||||
</select>
|
||||
<div class="star-choice">
|
||||
{% for option in widget.get_options %}
|
||||
<span class="star" data-index="{{ forloop.counter }}"></span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<script>
|
||||
$(function() {
|
||||
{% endfor %}
|
||||
</div>
|
||||
<script>
|
||||
$(function() {
|
||||
$('#form_{{widget.name}}').parent().find('.star-choice span').on('click', function() {
|
||||
if ($(this).hasClass('selected')) {
|
||||
$(this).nextAll().removeClass('selected');
|
||||
|
@ -27,6 +27,6 @@ $(function() {
|
|||
$('#form_{{widget.name}} option[data-index=' + $(this).data('index') + ']').prop('selected', true);
|
||||
});
|
||||
$('#form_{{widget.name}}').parent().find('.star-choice [data-index=' + $('#form_{{widget.name}} option:selected').data('index') + ']').trigger('click');
|
||||
});
|
||||
</script>
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{% extends "qommon/forms/widgets/select-timetable.html" %}
|
||||
|
||||
{% block widget-control %}
|
||||
{{ block.super }}
|
||||
<style>
|
||||
.template-timetable-radiobutton div.timetable-widget span.timetable-cell span { display: none; }
|
||||
.template-timetable-radiobutton div.timetable-widget span.timetable-cell::before { content: "○"; }
|
||||
.template-timetable-radiobutton div.timetable-widget span.timetable-cell.on::before { content: "●"; }
|
||||
</style>
|
||||
{{ block.super }}
|
||||
<style>
|
||||
.template-timetable-radiobutton div.timetable-widget span.timetable-cell span { display: none; }
|
||||
.template-timetable-radiobutton div.timetable-widget span.timetable-cell::before { content: "○"; }
|
||||
.template-timetable-radiobutton div.timetable-widget span.timetable-cell.on::before { content: "●"; }
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{% extends "qommon/forms/widget.html" %}
|
||||
|
||||
{% block widget-error %}
|
||||
{{ block.super }}
|
||||
<span class="franceconnect--error" id="form_{{widget.name}}_error" style="display: none">Une erreur s'est produite lors de la récupération des données.</span>
|
||||
{{ block.super }}
|
||||
<span class="franceconnect--error" id="form_{{widget.name}}_error" style="display: none">Une erreur s'est produite lors de la récupération des données.</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block widget-control %}
|
||||
<input id="form_{{widget.name}}" type="hidden" name="{{widget.name}}" data-initial-display-value="{{widget.get_display_value|default_if_none:''}}" data-url="{{widget.get_select2_url}}"{% if widget.value %} value="{{ widget.value }}"{% endif %} />
|
||||
<input id="form_{{widget.name}}_display" type="text" name="{{widget.name}}_display" style="display: none" readonly />
|
||||
<a class="franceconnect--clear" id="form_{{widget.name}}_clear" title="Supprimer" role="button" data-field-id="form_{{widget.name}}"></a>
|
||||
<button class="franceconnect--button" id="form_{{widget.name}}_fc_button" data-field-id="form_{{widget.name}}" role="button">Obtenir avec FranceConnect</button>
|
||||
<input id="form_{{widget.name}}" type="hidden" name="{{widget.name}}" data-initial-display-value="{{widget.get_display_value|default_if_none:''}}" data-url="{{widget.get_select2_url}}"{% if widget.value %} value="{{ widget.value }}"{% endif %} />
|
||||
<input id="form_{{widget.name}}_display" type="text" name="{{widget.name}}_display" style="display: none" readonly />
|
||||
<a class="franceconnect--clear" id="form_{{widget.name}}_clear" title="Supprimer" role="button" data-field-id="form_{{widget.name}}"></a>
|
||||
<button class="franceconnect--button" id="form_{{widget.name}}_fc_button" data-field-id="form_{{widget.name}}" role="button">Obtenir avec FranceConnect</button>
|
||||
|
||||
{% if not request.is_in_backoffice %}
|
||||
<script>
|
||||
$(function () {
|
||||
{% if not request.is_in_backoffice %}
|
||||
<script>
|
||||
$(function () {
|
||||
const fc_popup = function(url) {
|
||||
const height = 670;
|
||||
const width = 1000;
|
||||
|
@ -89,8 +89,8 @@ $(function () {
|
|||
popup_window = null;
|
||||
field_id = null;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,52 +1,52 @@
|
|||
{% extends "emails/body_base.html" %}
|
||||
|
||||
{% block content %}
|
||||
{% if existing_accounts %}
|
||||
<p>Bonjour,</p>
|
||||
{% if existing_accounts %}
|
||||
<p>Bonjour,</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Vous possédez déjà un compte associé à cette adresse électronique.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Pour vous connecter, vous pouvez cliquer sur le bouton suivant :
|
||||
</p>
|
||||
</p>
|
||||
|
||||
{% include "emails/button-link.html" with url=registration_url label="Me connecter" %}
|
||||
{% include "emails/button-link.html" with url=registration_url label="Me connecter" %}
|
||||
|
||||
<p>
|
||||
<p>
|
||||
{% if expiration_days == 1 %}
|
||||
Attention, ce bouton n’est valable que pendant 24h.
|
||||
{% else %}
|
||||
Attention, ce bouton n’est valable que pendant {{expiration_days}} jours.
|
||||
{% endif %}
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Après connexion vous pourrez si besoin modifier votre mot de passe sur la page de votre
|
||||
compte.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
En cas de mot de passe perdu, vous pouvez à tout moment utiliser le formulaire de récupération de
|
||||
mot de passe sur la page de connexion.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
{% else %}
|
||||
<p>Bonjour,</p>
|
||||
{% else %}
|
||||
<p>Bonjour,</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Vous venez de créer votre compte, nous vous en remercions.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<p>
|
||||
Pour choisir un mot de passe et finaliser la création de votre compte, veuillez cliquer
|
||||
sur le bouton suivant :
|
||||
</p>
|
||||
</p>
|
||||
|
||||
{% include "emails/button-link.html" with url=registration_url label="Finaliser l’inscription" %}
|
||||
{% include "emails/button-link.html" with url=registration_url label="Finaliser l’inscription" %}
|
||||
|
||||
<p>
|
||||
<p>
|
||||
{% if expiration_days == 1 %}
|
||||
Attention, sans validation de votre part dans les 24 heures, votre demande de compte
|
||||
sera annulée.
|
||||
|
@ -54,6 +54,6 @@
|
|||
Attention, sans validation de votre part dans les {{expiration_days}} jours, votre
|
||||
demande de compte sera annulée.
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,23 +2,23 @@
|
|||
{% load gadjo i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Resetting password" %}
|
||||
{% trans "Resetting password" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="password-reset-form">
|
||||
<div class="password-reset-form">
|
||||
|
||||
<p>
|
||||
Si vous avez égaré votre mot de passe et que vous souhaitez pouvoir vous
|
||||
connecter à nouveau indiquez votre adresse électronique. Vous recevrez un
|
||||
courriel vous permettant de définir un nouveau mot de passe.
|
||||
</p>
|
||||
<p>
|
||||
Si vous avez égaré votre mot de passe et que vous souhaitez pouvoir vous
|
||||
connecter à nouveau indiquez votre adresse électronique. Vous recevrez un
|
||||
courriel vous permettant de définir un nouveau mot de passe.
|
||||
</p>
|
||||
|
||||
<form method="post" class="pk-mark-optional-fields">
|
||||
<form method="post" class="pk-mark-optional-fields">
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
<button class="submit-button">{% trans 'Submit' %}</button>
|
||||
</form>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,20 +2,20 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Registration" %}
|
||||
{% trans "Registration" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra-body-class %}{{ block.super }} registration-page{% endblock %}
|
||||
|
||||
{% block placeholder-content %}
|
||||
{% include "authentic2/service_info_fragment.html" %}
|
||||
{% include "authentic2/service_info_fragment.html" %}
|
||||
|
||||
{% block registration-pre %}{% endblock %}
|
||||
<div id="registration-blocks" class="methods{{frontends.items|length}}">
|
||||
{% block registration-top %}{% endblock %}
|
||||
{% block registration-pre %}{% endblock %}
|
||||
<div id="registration-blocks" class="methods{{frontends.items|length}}">
|
||||
{% block registration-top %}{% endblock %}
|
||||
|
||||
{% block registration-other-methods %}
|
||||
{% for id, block in frontends.items %}
|
||||
{% block registration-other-methods %}
|
||||
{% for id, block in frontends.items %}
|
||||
{% if id == "password" %}
|
||||
<div id="frontend-registration-email" class="a2-block">
|
||||
{{ block.content|safe }}
|
||||
|
@ -27,11 +27,11 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% block registration-bottom %}{% endblock %}
|
||||
</div> <!-- #registration-blocks -->
|
||||
{% block registration-post %}{% endblock %}
|
||||
{% block registration-bottom %}{% endblock %}
|
||||
</div> <!-- #registration-blocks -->
|
||||
{% block registration-post %}{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -85,9 +85,9 @@
|
|||
<div id="main-content-wrapper">
|
||||
<div id="main-content">
|
||||
|
||||
{% block content-messages %}
|
||||
{% block messages %}
|
||||
{% if messages %}
|
||||
{% block content-messages %}
|
||||
{% block messages %}
|
||||
{% if messages %}
|
||||
<div id="messages" class="messages-login">
|
||||
<ul class="messages">
|
||||
{% for message in messages %}
|
||||
|
@ -95,9 +95,9 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content-pre %}{% endblock %}
|
||||
<div id="content" class="central-content gru-content">
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{% extends "authentic2/login.html" %}
|
||||
|
||||
{% block login-pre %}
|
||||
<div class="cell">
|
||||
<div class="cell">
|
||||
<h2>AUTHENTIFIEZ-VOUS</h2>
|
||||
<h2>SUR MES DEMARCHES 06</h2>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{% load gadjo %}
|
||||
<form method="post" action="" class="pk-mark-optional-fields">
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
{% if can_reset_password %}
|
||||
<p class="forgot-password"><a href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">Vous avez oublié votre mot de passe ?</a></p>
|
||||
<div class="buttons">
|
||||
{% csrf_token %}
|
||||
{{ form|with_template }}
|
||||
{% if can_reset_password %}
|
||||
<p class="forgot-password"><a href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">Vous avez oublié votre mot de passe ?</a></p>
|
||||
<div class="buttons">
|
||||
<button name="{{ submit_name }}">S’IDENTIFIER</button>
|
||||
{% if cancel %}
|
||||
<button class="cancel-button" name="cancel" formnovalidate>ANNULER</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
</form>
|
||||
{% endif %}
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
{% load i18n static %}
|
||||
|
||||
{% block login %}
|
||||
<!-- <p>Vous êtes agent et disposez d'un compte dans l'annuaire du département des Bouches-du-Rhône.</p> -->
|
||||
<form method="post">
|
||||
<!-- <p>Vous êtes agent et disposez d'un compte dans l'annuaire du département des Bouches-du-Rhône.</p> -->
|
||||
<form method="post">
|
||||
<button class="submit-button cd06-adfs" name="{{ submit_name }}" title="{% trans "Login" %}"></button>
|
||||
{% if cancel %}
|
||||
<button class="cancel-button" name="cancel" formnovalidate>{% trans 'Cancel' %}</button>
|
||||
{% endif %}
|
||||
</form>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
{% if json.data %}
|
||||
|
||||
{% if json.data.dossier.DEMANDES %}
|
||||
{% if json.data.dossier.DEMANDES %}
|
||||
|
||||
{% for demande in json.data.dossier.DEMANDES %}
|
||||
{% if demande.ETAPE == "Décision d'accord" %}
|
||||
<p style="text-align: center;"><a href="{{ eservices_url}}social/aggravation-revision-apa/?session_var_dossier={{json.data.id}}&cancelurl={{ portal_url }}social">Faire une déclaration d’aggravation ou une demande de révision</a></p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
<p style="text-align: center;"><a href="{{ eservices_url}}social/supprimer-un-beneficiaire/?session_var_dossier={{json.data.id}}&cancelurl={{ portal_url }}social">⏏ Désappairer mon dossier</a></p>
|
||||
{% for demande in json.data.dossier.DEMANDES %}
|
||||
{% if demande.ETAPE == "Décision d'accord" %}
|
||||
<p style="text-align: center;"><a href="{{ eservices_url}}social/aggravation-revision-apa/?session_var_dossier={{json.data.id}}&cancelurl={{ portal_url }}social">Faire une déclaration d’aggravation ou une demande de révision</a></p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
<p style="text-align: center;"><a href="{{ eservices_url}}social/supprimer-un-beneficiaire/?session_var_dossier={{json.data.id}}&cancelurl={{ portal_url }}social">⏏ Désappairer mon dossier</a></p>
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
{% if json.data %}
|
||||
|
||||
<h2>Dossier Autonomie : {% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
|
||||
<h2>Dossier Autonomie : {% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
|
||||
|
||||
<div class="cell turquoise-header">
|
||||
{% if json.data.dossier.DEMANDES.AD %}
|
||||
{% for demande in json.data.dossier.DEMANDES.AD %}
|
||||
{% if demande.ID_MES == request.GET.demande %}
|
||||
<div class="cell turquoise-header">
|
||||
{% if json.data.dossier.DEMANDES.AD %}
|
||||
{% for demande in json.data.dossier.DEMANDES.AD %}
|
||||
{% if demande.ID_MES == request.GET.demande %}
|
||||
|
||||
<h3>{{ demande.TYPE_MESURE }}</h3>
|
||||
<h4>Progression de la demande</h4>
|
||||
<div id="social-steps">
|
||||
<h3>{{ demande.TYPE_MESURE }}</h3>
|
||||
<h4>Progression de la demande</h4>
|
||||
<div id="social-steps">
|
||||
<ol>
|
||||
{% for etape in demande.LISTE_ETAPES %}
|
||||
<li{% if etape.A_SURLIGNER == "O" %} class="current"{% endif %}>
|
||||
|
@ -20,45 +20,45 @@
|
|||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% for etape in demande.LISTE_ETAPES %}
|
||||
{% if etape.A_SURLIGNER == "O" %}
|
||||
{% for etape in demande.LISTE_ETAPES %}
|
||||
{% if etape.A_SURLIGNER == "O" %}
|
||||
|
||||
{% for etp in etape.ETP %}
|
||||
{% if etp.TYP_CHAMP == "L" %}
|
||||
<p><strong>Étape actuelle</strong> : {{etp.ETAPE}}</p>
|
||||
<div class="infonotice"><p>{{etp.LIBELLE_CHAMP}}</p></div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for etp in etape.ETP %}
|
||||
{% if etp.TYP_CHAMP == "L" %}
|
||||
<p><strong>Étape actuelle</strong> : {{etp.ETAPE}}</p>
|
||||
<div class="infonotice"><p>{{etp.LIBELLE_CHAMP}}</p></div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if etape.ETP|length > 1 %}
|
||||
<h3>Informations supplémentaires</h3>
|
||||
{% for etp in etape.ETP %}
|
||||
{% if etp.TYP_CHAMP == "D" %}
|
||||
<p>{{etp.LIBELLE_CHAMP}} : {{etp.VALEUR_CHAMP}}</p>
|
||||
{% endif %}
|
||||
{% if etp.TYP_CHAMP == "S" %}
|
||||
<p>{{etp.LIBELLE_CHAMP}} :
|
||||
<ul>
|
||||
{% for e in etp.VALEUR_LIST_CHAMP %}
|
||||
<li>{{e.LIBELLE}} : {{e.COMMENTAIRE}}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if etp.TYP_CHAMP == "M" and etp.VALEUR_MEMO_CHAMP %}
|
||||
<div class="infonotice">
|
||||
{% if etape.ETP|length > 1 %}
|
||||
<h3>Informations supplémentaires</h3>
|
||||
{% for etp in etape.ETP %}
|
||||
{% if etp.TYP_CHAMP == "D" %}
|
||||
<p>{{etp.LIBELLE_CHAMP}} : {{etp.VALEUR_CHAMP}}</p>
|
||||
{% endif %}
|
||||
{% if etp.TYP_CHAMP == "S" %}
|
||||
<p>{{etp.LIBELLE_CHAMP}} :
|
||||
<ul>
|
||||
{% for e in etp.VALEUR_LIST_CHAMP %}
|
||||
<li>{{e.LIBELLE}} : {{e.COMMENTAIRE}}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if etp.TYP_CHAMP == "M" and etp.VALEUR_MEMO_CHAMP %}
|
||||
<div class="infonotice">
|
||||
<p>{{etp.LIBELLE_CHAMP}} :<br /> {{etp.VALEUR_MEMO_CHAMP}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
{% if json.data %}
|
||||
|
||||
<h2>Dossier Handicap : {% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
|
||||
<div class="cell turquoise-header">
|
||||
{% if json.data.dossier.DEMANDES.PH %}
|
||||
{% for demande in json.data.dossier.DEMANDES.PH %}
|
||||
{% if demande.ID_MES == request.GET.demande %}
|
||||
<h2>Dossier Handicap : {% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
|
||||
<div class="cell turquoise-header">
|
||||
{% if json.data.dossier.DEMANDES.PH %}
|
||||
{% for demande in json.data.dossier.DEMANDES.PH %}
|
||||
{% if demande.ID_MES == request.GET.demande %}
|
||||
|
||||
<h3>{{ demande.TYPE_MESURE }}</h3>
|
||||
<h3>{{ demande.TYPE_MESURE }}</h3>
|
||||
|
||||
<h4>Progression de la demande</h4>
|
||||
<div id="social-steps">
|
||||
<h4>Progression de la demande</h4>
|
||||
<div id="social-steps">
|
||||
<ol>
|
||||
{% for etape in demande.LISTE_ETAPES %}
|
||||
<li{% if etape.A_SURLIGNER == "O" %} class="current"{% endif %}>
|
||||
|
@ -22,46 +22,46 @@
|
|||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% for etape in demande.LISTE_ETAPES %}
|
||||
{% if etape.A_SURLIGNER == "O" %}
|
||||
{% for etp in etape.ETP %}
|
||||
{% if etp.TYP_CHAMP == "L" %}
|
||||
<p><strong>Étape actuelle</strong> : {{etp.ETAPE}}</p>
|
||||
<div class="infonotice"><p>{{etp.LIBELLE_CHAMP}}</p></div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for etape in demande.LISTE_ETAPES %}
|
||||
{% if etape.A_SURLIGNER == "O" %}
|
||||
{% for etp in etape.ETP %}
|
||||
{% if etp.TYP_CHAMP == "L" %}
|
||||
<p><strong>Étape actuelle</strong> : {{etp.ETAPE}}</p>
|
||||
<div class="infonotice"><p>{{etp.LIBELLE_CHAMP}}</p></div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if etape.ETP|length > 1 %}
|
||||
<h3>Informations supplémentaires</h3>
|
||||
{% for etp in etape.ETP %}
|
||||
{% if etp.TYP_CHAMP == "D" %}
|
||||
<p>{{etp.LIBELLE_CHAMP}} : {{etp.VALEUR_CHAMP}}</p>
|
||||
{% endif %}
|
||||
{% if etp.TYP_CHAMP == "S" %}
|
||||
<p>{{etp.LIBELLE_CHAMP}} :
|
||||
<ul>
|
||||
{% for e in etp.VALEUR_LIST_CHAMP %}
|
||||
{% if e.LIBELLE != e.COMMENTAIRE %}
|
||||
<li>{{e.LIBELLE}} : {{e.COMMENTAIRE}}</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if etp.TYP_CHAMP == "M" and etp.VALEUR_MEMO_CHAMP %}
|
||||
<div class="infonotice">
|
||||
{% if etape.ETP|length > 1 %}
|
||||
<h3>Informations supplémentaires</h3>
|
||||
{% for etp in etape.ETP %}
|
||||
{% if etp.TYP_CHAMP == "D" %}
|
||||
<p>{{etp.LIBELLE_CHAMP}} : {{etp.VALEUR_CHAMP}}</p>
|
||||
{% endif %}
|
||||
{% if etp.TYP_CHAMP == "S" %}
|
||||
<p>{{etp.LIBELLE_CHAMP}} :
|
||||
<ul>
|
||||
{% for e in etp.VALEUR_LIST_CHAMP %}
|
||||
{% if e.LIBELLE != e.COMMENTAIRE %}
|
||||
<li>{{e.LIBELLE}} : {{e.COMMENTAIRE}}</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if etp.TYP_CHAMP == "M" and etp.VALEUR_MEMO_CHAMP %}
|
||||
<div class="infonotice">
|
||||
<p>{{etp.LIBELLE_CHAMP}} :<br /> {{etp.VALEUR_MEMO_CHAMP}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -3,187 +3,187 @@
|
|||
{% if json.data %}
|
||||
|
||||
|
||||
<div>
|
||||
<h1><strong>{{json.data.dossier.IDENTIFICATION.0.PRENOM}}</strong> <strong>{{json.data.dossier.IDENTIFICATION.0.NOM}}</strong></h1>
|
||||
</div>
|
||||
<div>
|
||||
<h1><strong>{{json.data.dossier.IDENTIFICATION.0.PRENOM}}</strong> <strong>{{json.data.dossier.IDENTIFICATION.0.NOM}}</strong></h1>
|
||||
</div>
|
||||
|
||||
<div class="cell foldable">
|
||||
<div id="references">
|
||||
<h2>Vos références</h2>
|
||||
<p>
|
||||
{% if json.data.dossier.IDENTIFICATION.0.REF_UTI_DOS %}Numéro de dossier (REF_UTI_DOS) : <strong>{{json.data.dossier.IDENTIFICATION.0.REF_UTI_DOS}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.IDDOS %}Numéro de dossier (IDDOS) : <strong>{{json.data.dossier.IDENTIFICATION.0.IDDOS}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell foldable">
|
||||
<div id="references">
|
||||
<h2>Vos références</h2>
|
||||
<p>
|
||||
{% if json.data.dossier.IDENTIFICATION.0.REF_UTI_DOS %}Numéro de dossier (REF_UTI_DOS) : <strong>{{json.data.dossier.IDENTIFICATION.0.REF_UTI_DOS}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.IDDOS %}Numéro de dossier (IDDOS) : <strong>{{json.data.dossier.IDENTIFICATION.0.IDDOS}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cell foldable">
|
||||
<div id="vous">
|
||||
<h2>Vous</h2>
|
||||
<p>
|
||||
{% if json.data.dossier.IDENTIFICATION.0.PRENOM %}Prénom : <strong>{{json.data.dossier.IDENTIFICATION.0.PRENOM}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NOM %}Nom : <strong>{{json.data.dossier.IDENTIFICATION.0.NOM}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NOM_NAISSANCE %}Nom de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.NOM_NAISSANCE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.SEXE %}Sexe : <strong>{{json.data.dossier.IDENTIFICATION.0.SEXE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.DATE_NAISSANCE %}Date de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.DATE_NAISSANCE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.DPT_NAIS %}Département de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.DPT_NAIS}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.PAYS_NAIS %}Pays de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.PAYS_NAIS}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NATIONALITE %}Nationalité : <strong>{{json.data.dossier.IDENTIFICATION.0.NATIONALITE}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell foldable">
|
||||
<div id="vous">
|
||||
<h2>Vous</h2>
|
||||
<p>
|
||||
{% if json.data.dossier.IDENTIFICATION.0.PRENOM %}Prénom : <strong>{{json.data.dossier.IDENTIFICATION.0.PRENOM}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NOM %}Nom : <strong>{{json.data.dossier.IDENTIFICATION.0.NOM}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NOM_NAISSANCE %}Nom de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.NOM_NAISSANCE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.SEXE %}Sexe : <strong>{{json.data.dossier.IDENTIFICATION.0.SEXE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.DATE_NAISSANCE %}Date de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.DATE_NAISSANCE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.DPT_NAIS %}Département de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.DPT_NAIS}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.PAYS_NAIS %}Pays de naissance : <strong>{{json.data.dossier.IDENTIFICATION.0.PAYS_NAIS}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NATIONALITE %}Nationalité : <strong>{{json.data.dossier.IDENTIFICATION.0.NATIONALITE}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cell foldable">
|
||||
<div id="coordonnees">
|
||||
<h2>Vos coordonnées</h2>
|
||||
<p>
|
||||
Adresse :
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NU_VOIE_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.NU_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.LB_COD_BTQ_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_COD_BTQ_ADR}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.LB_COD_VOIE_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_COD_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.LB_VOIE_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.CODE_POSTAL %}<strong>{{json.data.dossier.IDENTIFICATION.0.CODE_POSTAL}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.VILLE %}<strong>{{json.data.dossier.IDENTIFICATION.0.VILLE}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.LB_PAY_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_PAY_ADR}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.COMPLEMENT_ADRESSE %}<br/>Complément d’adresse : <strong>{{json.data.dossier.IDENTIFICATION.0.COMPLEMENT_ADRESSE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.TEL_FIXE %}Téléphone fixe : <strong>{{json.data.dossier.IDENTIFICATION.0.TEL_FIXE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.TEL_MOBILE %}Téléphone mobile : <strong>{{json.data.dossier.IDENTIFICATION.0.TEL_MOBILE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.MAIL %}Adresse de courriel : <strong>{{json.data.dossier.IDENTIFICATION.0.MAIL}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell foldable">
|
||||
<div id="coordonnees">
|
||||
<h2>Vos coordonnées</h2>
|
||||
<p>
|
||||
Adresse :
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NU_VOIE_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.NU_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.LB_COD_BTQ_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_COD_BTQ_ADR}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.LB_COD_VOIE_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_COD_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.LB_VOIE_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.CODE_POSTAL %}<strong>{{json.data.dossier.IDENTIFICATION.0.CODE_POSTAL}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.VILLE %}<strong>{{json.data.dossier.IDENTIFICATION.0.VILLE}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.LB_PAY_ADR %}<strong>{{json.data.dossier.IDENTIFICATION.0.LB_PAY_ADR}}</strong> {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.COMPLEMENT_ADRESSE %}<br/>Complément d’adresse : <strong>{{json.data.dossier.IDENTIFICATION.0.COMPLEMENT_ADRESSE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.TEL_FIXE %}Téléphone fixe : <strong>{{json.data.dossier.IDENTIFICATION.0.TEL_FIXE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.TEL_MOBILE %}Téléphone mobile : <strong>{{json.data.dossier.IDENTIFICATION.0.TEL_MOBILE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.MAIL %}Adresse de courriel : <strong>{{json.data.dossier.IDENTIFICATION.0.MAIL}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cell foldable">
|
||||
<div id="ass">
|
||||
<h2>Vos informations d’assuré social</h2>
|
||||
<p>
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NSS %}Numéro d’assuré social : <strong>{{json.data.dossier.IDENTIFICATION.0.NSS}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.CAISSE_RETRAITE %}Caisse de retraite : <strong>{{json.data.dossier.IDENTIFICATION.0.CAISSE_RETRAITE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NUM_AFFILIATION %}Numéro d’affiliation à la caisse de retraite : <strong>{{json.data.dossier.IDENTIFICATION.0.NUM_AFFILIATION}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell foldable">
|
||||
<div id="ass">
|
||||
<h2>Vos informations d’assuré social</h2>
|
||||
<p>
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NSS %}Numéro d’assuré social : <strong>{{json.data.dossier.IDENTIFICATION.0.NSS}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.CAISSE_RETRAITE %}Caisse de retraite : <strong>{{json.data.dossier.IDENTIFICATION.0.CAISSE_RETRAITE}}</strong><br/>{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NUM_AFFILIATION %}Numéro d’affiliation à la caisse de retraite : <strong>{{json.data.dossier.IDENTIFICATION.0.NUM_AFFILIATION}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cell foldable">
|
||||
<div id="situation">
|
||||
<h2>Votre situation familiale</h2>
|
||||
<p>
|
||||
{% if json.data.dossier.IDENTIFICATION.0.SIT_FAM%}Situation familiale : <strong>{{json.data.dossier.IDENTIFICATION.0.SIT_FAM}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell foldable">
|
||||
<div id="situation">
|
||||
<h2>Votre situation familiale</h2>
|
||||
<p>
|
||||
{% if json.data.dossier.IDENTIFICATION.0.SIT_FAM%}Situation familiale : <strong>{{json.data.dossier.IDENTIFICATION.0.SIT_FAM}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if json.data.dossier.IDENTIFICATION.0.CONJOINT %}
|
||||
<div class="cell foldable">
|
||||
<div id="conjoint">
|
||||
<h2>Votre conjoint</h2>
|
||||
{% for conjoint in json.data.dossier.IDENTIFICATION.0.CONJOINT%}
|
||||
<p>
|
||||
{% if conjoint.PRENOM %}Prénom : <strong>{{conjoint.PRENOM}}</strong><br/>{% endif %}
|
||||
{% if conjoint.NOM %}Nom : <strong>{{conjoint.NOM}}</strong><br/>{% endif %}
|
||||
{% if conjoint.NU_VOIE_ADR %}<strong>{{conjoint.NU_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if conjoint.LB_COD_BTQ_ADR %}<strong>{{conjoint.LB_COD_BTQ_ADR}}</strong> {% endif %}
|
||||
{% if conjoint.LB_COD_VOIE_ADR %}<strong>{{conjoint.LB_COD_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if conjoint.LB_VOIE_ADR %}<strong>{{conjoint.LB_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if conjoint.CODE_POSTAL %}<strong>{{conjoint.CODE_POSTAL}}</strong> {% endif %}
|
||||
{% if conjoint.VILLE %}<strong>{{conjoint.VILLE}}</strong> {% endif %}
|
||||
{% if conjoint.LB_PAY_ADR %}<strong>{{conjoint.LB_PAY_ADR}}</strong> {% endif %}
|
||||
{% if conjoint.COMPLEMENT_ADRESSE %}Complément d’adresse : <strong>{{conjoint.COMPLEMENT_ADRESSE}}</strong><br/>{% endif %}
|
||||
{% if conjoint.TEL_FIXE %}Téléphone fixe : <strong>{{conjoint.TEL_FIXE}}</strong><br/>{% endif %}
|
||||
{% if conjoint.TEL_MOBILE %}Téléphone mobile : <strong>{{conjoint.TEL_MOBILE}}</strong><br/>{% endif %}
|
||||
{% if conjoint.MAIL %}Adresse de courriel : <strong>{{conjoint.MAIL}}</strong><br/>{% endif %}
|
||||
{% if conjoint.NSS %}Numéro d’assuré social : <strong>{{conjoint.NSS}}</strong><br/>{% endif %}
|
||||
{% if conjoint.CAISSE_RETRAITE %}Caisse de retraite : <strong>{{conjoint.CAISSE_RETRAITE}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.CONJOINT %}
|
||||
<div class="cell foldable">
|
||||
<div id="conjoint">
|
||||
<h2>Votre conjoint</h2>
|
||||
{% for conjoint in json.data.dossier.IDENTIFICATION.0.CONJOINT%}
|
||||
<p>
|
||||
{% if conjoint.PRENOM %}Prénom : <strong>{{conjoint.PRENOM}}</strong><br/>{% endif %}
|
||||
{% if conjoint.NOM %}Nom : <strong>{{conjoint.NOM}}</strong><br/>{% endif %}
|
||||
{% if conjoint.NU_VOIE_ADR %}<strong>{{conjoint.NU_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if conjoint.LB_COD_BTQ_ADR %}<strong>{{conjoint.LB_COD_BTQ_ADR}}</strong> {% endif %}
|
||||
{% if conjoint.LB_COD_VOIE_ADR %}<strong>{{conjoint.LB_COD_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if conjoint.LB_VOIE_ADR %}<strong>{{conjoint.LB_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if conjoint.CODE_POSTAL %}<strong>{{conjoint.CODE_POSTAL}}</strong> {% endif %}
|
||||
{% if conjoint.VILLE %}<strong>{{conjoint.VILLE}}</strong> {% endif %}
|
||||
{% if conjoint.LB_PAY_ADR %}<strong>{{conjoint.LB_PAY_ADR}}</strong> {% endif %}
|
||||
{% if conjoint.COMPLEMENT_ADRESSE %}Complément d’adresse : <strong>{{conjoint.COMPLEMENT_ADRESSE}}</strong><br/>{% endif %}
|
||||
{% if conjoint.TEL_FIXE %}Téléphone fixe : <strong>{{conjoint.TEL_FIXE}}</strong><br/>{% endif %}
|
||||
{% if conjoint.TEL_MOBILE %}Téléphone mobile : <strong>{{conjoint.TEL_MOBILE}}</strong><br/>{% endif %}
|
||||
{% if conjoint.MAIL %}Adresse de courriel : <strong>{{conjoint.MAIL}}</strong><br/>{% endif %}
|
||||
{% if conjoint.NSS %}Numéro d’assuré social : <strong>{{conjoint.NSS}}</strong><br/>{% endif %}
|
||||
{% if conjoint.CAISSE_RETRAITE %}Caisse de retraite : <strong>{{conjoint.CAISSE_RETRAITE}}</strong><br/>{% endif %}
|
||||
</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if json.data.dossier.IDENTIFICATION.0.CONTACTS %}
|
||||
<div class="cell foldable">
|
||||
<div id="contacts">
|
||||
<h2>Vos contacts</h2>
|
||||
{% for contact in json.data.dossier.IDENTIFICATION.0.CONTACTS %}
|
||||
<p>
|
||||
{% if contact.PRENOM %}Prénom : <strong>{{contact.PRENOM}}</strong><br/>{% endif %}
|
||||
{% if contact.NOM %}Nom : <strong>{{contact.NOM}}</strong><br/>{% endif %}
|
||||
{% if contact.NU_VOIE_ADR %}<strong>{{contact.NU_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if contact.LB_COD_BTQ_ADR %}<strong>{{contact.LB_COD_BTQ_ADR}}</strong> {% endif %}
|
||||
{% if contact.LB_COD_VOIE_ADR %}<strong>{{contact.LB_COD_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if contact.LB_VOIE_ADR %}<strong>{{contact.LB_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if contact.CODE_POSTAL %}<strong>{{contact.CODE_POSTAL}}</strong> {% endif %}
|
||||
{% if contact.VILLE %}<strong>{{contact.VILLE}}</strong> {% endif %}
|
||||
{% if contact.LB_PAY_ADR %}<strong>{{contact.LB_PAY_ADR}}</strong> {% endif %}
|
||||
{% if contact.COMPLEMENT_ADRESSE %}Complément d’adresse : <strong>{{contact.COMPLEMENT_ADRESSE}}</strong><br/>{% endif %}
|
||||
{% if contact.TEL_FIXE %}Téléphone fixe : <strong>{{contact.TEL_FIXE}}</strong><br/>{% endif %}
|
||||
{% if contact.TEL_MOBILE %}Téléphone mobile : <strong>{{contact.TEL_MOBILE}}</strong><br/>{% endif %}
|
||||
{% if contact.MAIL %}Adresse de courriel : <strong>{{contact.MAIL}}</strong><br/>{% endif %}
|
||||
{% if contact.RELATION %}Type de relation :
|
||||
{% if json.data.dossier.IDENTIFICATION.0.CONTACTS %}
|
||||
<div class="cell foldable">
|
||||
<div id="contacts">
|
||||
<h2>Vos contacts</h2>
|
||||
{% for contact in json.data.dossier.IDENTIFICATION.0.CONTACTS %}
|
||||
<p>
|
||||
{% if contact.PRENOM %}Prénom : <strong>{{contact.PRENOM}}</strong><br/>{% endif %}
|
||||
{% if contact.NOM %}Nom : <strong>{{contact.NOM}}</strong><br/>{% endif %}
|
||||
{% if contact.NU_VOIE_ADR %}<strong>{{contact.NU_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if contact.LB_COD_BTQ_ADR %}<strong>{{contact.LB_COD_BTQ_ADR}}</strong> {% endif %}
|
||||
{% if contact.LB_COD_VOIE_ADR %}<strong>{{contact.LB_COD_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if contact.LB_VOIE_ADR %}<strong>{{contact.LB_VOIE_ADR}}</strong> {% endif %}
|
||||
{% if contact.CODE_POSTAL %}<strong>{{contact.CODE_POSTAL}}</strong> {% endif %}
|
||||
{% if contact.VILLE %}<strong>{{contact.VILLE}}</strong> {% endif %}
|
||||
{% if contact.LB_PAY_ADR %}<strong>{{contact.LB_PAY_ADR}}</strong> {% endif %}
|
||||
{% if contact.COMPLEMENT_ADRESSE %}Complément d’adresse : <strong>{{contact.COMPLEMENT_ADRESSE}}</strong><br/>{% endif %}
|
||||
{% if contact.TEL_FIXE %}Téléphone fixe : <strong>{{contact.TEL_FIXE}}</strong><br/>{% endif %}
|
||||
{% if contact.TEL_MOBILE %}Téléphone mobile : <strong>{{contact.TEL_MOBILE}}</strong><br/>{% endif %}
|
||||
{% if contact.MAIL %}Adresse de courriel : <strong>{{contact.MAIL}}</strong><br/>{% endif %}
|
||||
{% if contact.RELATION %}Type de relation :
|
||||
<strong>{% if contact.RELATION == 'TYP_CNT_AID' %}Aidant
|
||||
{% elif contact.RELATION == 'TYP_CNT_PAR' %}Parent
|
||||
{% else %}Inconnu
|
||||
{% endif %}</strong>
|
||||
<br/>{% endif %}
|
||||
</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<br/>{% endif %}
|
||||
</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if json.data.dossier.DEMANDES %}
|
||||
<div class="cell foldable">
|
||||
<div id="demandes">
|
||||
{% if json.data.dossier.DEMANDES %}
|
||||
<div class="cell foldable">
|
||||
<div id="demandes">
|
||||
|
||||
<h2>Vos Demandes</h2>
|
||||
<h2>Vos Demandes</h2>
|
||||
|
||||
{% for demande in json.data.dossier.DEMANDES %}
|
||||
<h3>{{demande.DT_DMD}} - {{demande.TYPE_MESURE}} - {{demande.ETAPE}}</h3>
|
||||
<p>
|
||||
Identifiant de la demande : <strong>{{demande.ID_MES}}</strong><br/>
|
||||
Type de mesure : <strong>{{demande.TYPE_MESURE}}</strong><br/>
|
||||
Catégorie : <strong>{{demande.CATEGORIE}}</strong><br/>
|
||||
Statut actuel : <strong>{{demande.ETAPE}}</strong><br/>
|
||||
Date de la demande : <strong>{{demande.DT_DMD}}</strong><br/>
|
||||
</p>
|
||||
{% for demande in json.data.dossier.DEMANDES %}
|
||||
<h3>{{demande.DT_DMD}} - {{demande.TYPE_MESURE}} - {{demande.ETAPE}}</h3>
|
||||
<p>
|
||||
Identifiant de la demande : <strong>{{demande.ID_MES}}</strong><br/>
|
||||
Type de mesure : <strong>{{demande.TYPE_MESURE}}</strong><br/>
|
||||
Catégorie : <strong>{{demande.CATEGORIE}}</strong><br/>
|
||||
Statut actuel : <strong>{{demande.ETAPE}}</strong><br/>
|
||||
Date de la demande : <strong>{{demande.DT_DMD}}</strong><br/>
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
{% for etape in demande.LISTE_ETAPES %}
|
||||
{% if etape.ETP %}
|
||||
<li>{{etape.CATEGORIE}} : <strong>{{etape.LB_ETP}}</strong><br/>
|
||||
<ul>
|
||||
{% for et in etape.ETP %}
|
||||
<li>{{et.LIBELLE_CHAMP}}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
{% else %}
|
||||
<li>{{etape.CATEGORIE}}</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
<ul>
|
||||
{% for etape in demande.LISTE_ETAPES %}
|
||||
{% if etape.ETP %}
|
||||
<li>{{etape.CATEGORIE}} : <strong>{{etape.LB_ETP}}</strong><br/>
|
||||
<ul>
|
||||
{% for et in etape.ETP %}
|
||||
<li>{{et.LIBELLE_CHAMP}}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
{% else %}
|
||||
<li>{{etape.CATEGORIE}}</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if json.data.dossier.DROITS %}
|
||||
<div class="cell foldable">
|
||||
<div id="droits">
|
||||
<h2>Vos Droits</h2>
|
||||
<ul>
|
||||
{% for droit in json.data.dossier.DROITS %}
|
||||
<li>
|
||||
{{droit.LIBELLE}} du {{droit.DATE_DEBUT}} au {{droit.DATE_FIN}}.
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if json.data.dossier.DROITS %}
|
||||
<div class="cell foldable">
|
||||
<div id="droits">
|
||||
<h2>Vos Droits</h2>
|
||||
<ul>
|
||||
{% for droit in json.data.dossier.DROITS %}
|
||||
<li>
|
||||
{{droit.LIBELLE}} du {{droit.DATE_DEBUT}} au {{droit.DATE_FIN}}.
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% load combo %}
|
||||
{% if json.data %}
|
||||
<p><a href="{{ eservices_url }}enlever-un-dossier-a-mon-profil/?cancelurl={{ portal_url }}solidarite-social/page-de-suivi-social" class="turquoise-button">Je souhaite enlever un dossier à mon profil</a></p>
|
||||
<p><a href="{{ eservices_url }}enlever-un-dossier-a-mon-profil/?cancelurl={{ portal_url }}solidarite-social/page-de-suivi-social" class="turquoise-button">Je souhaite enlever un dossier à mon profil</a></p>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% if json.data %}
|
||||
<div class="cell textcell pink-header">
|
||||
<div class="cell textcell pink-header">
|
||||
<div>
|
||||
<h2>{{json.data.NomEnregistrement}}</h2>
|
||||
<p>
|
||||
|
@ -30,6 +30,6 @@
|
|||
<p>Aucun contact n’est renseigné.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
{% if json.data %}
|
||||
|
||||
<h2>Informations personnelles</h2>
|
||||
<div id="profile">
|
||||
<h2>Informations personnelles</h2>
|
||||
<div id="profile">
|
||||
<div class="field">
|
||||
{% if json.data.dossier.IDENTIFICATION.0.SEXE %}
|
||||
<div class="value"> {% if json.data.dossier.IDENTIFICATION.0.SEXE == 'F' %}Madame{% else %}Monsieur{% endif %}
|
||||
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="field">
|
||||
<span class="label">Adresse :</span>
|
||||
<div class="value">
|
||||
{% if json.data.dossier.IDENTIFICATION.0.NU_VOIE_ADR %}{{json.data.dossier.IDENTIFICATION.0.NU_VOIE_ADR}} {% endif %}
|
||||
|
@ -30,27 +30,27 @@
|
|||
{% if json.data.dossier.IDENTIFICATION.0.VILLE %}{{json.data.dossier.IDENTIFICATION.0.VILLE}} {% endif %}
|
||||
{% if json.data.dossier.IDENTIFICATION.0.LB_PAY_ADR %}{{json.data.dossier.IDENTIFICATION.0.LB_PAY_ADR}}{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if json.data.dossier.IDENTIFICATION.0.TEL_FIXE %}
|
||||
<div class="field">
|
||||
{% if json.data.dossier.IDENTIFICATION.0.TEL_FIXE %}
|
||||
<div class="field">
|
||||
<span class="label">Téléphone fixe :</span>
|
||||
<div class="value">{{json.data.dossier.IDENTIFICATION.0.TEL_FIXE}}</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if json.data.dossier.IDENTIFICATION.0.TEL_MOBILE %}
|
||||
<div class="field">
|
||||
{% if json.data.dossier.IDENTIFICATION.0.TEL_MOBILE %}
|
||||
<div class="field">
|
||||
<span class="label">Téléphone mobile :</span>
|
||||
<div class="value">{{json.data.dossier.IDENTIFICATION.0.TEL_MOBILE}}</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if json.data.dossier.IDENTIFICATION.0.MAIL %}
|
||||
<div class="field">
|
||||
{% if json.data.dossier.IDENTIFICATION.0.MAIL %}
|
||||
<div class="field">
|
||||
<span class="label">Adresse de courriel :</span>
|
||||
<div class="value">{{json.data.dossier.IDENTIFICATION.0.MAIL}}</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{% load combo %}
|
||||
{% if json.data %}
|
||||
{% if json.data.dossier.DEMANDES.AD %}
|
||||
{% regroup json.data.dossier.DEMANDES.AD by ETAPE as demandes_by_etape %}
|
||||
{% for group in demandes_by_etape %}
|
||||
{% if group.grouper == "Décision" and group.list|length and group.list|length == json.data.dossier.DEMANDES.AD|length %}
|
||||
<p><a href="{{ eservices_url}}demande-de-revision-apa-a-domicile/?session_var_dossier={{json.data.id}}&cancelurl={{ portal_url }}solidarite-social/page-de-suivi-social/accueil-dossier-social/?dossier={{json.data.id}}" class="turquoise-button">Faire une révision APA</a></p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if json.data.dossier.DEMANDES.AD %}
|
||||
{% regroup json.data.dossier.DEMANDES.AD by ETAPE as demandes_by_etape %}
|
||||
{% for group in demandes_by_etape %}
|
||||
{% if group.grouper == "Décision" and group.list|length and group.list|length == json.data.dossier.DEMANDES.AD|length %}
|
||||
<p><a href="{{ eservices_url}}demande-de-revision-apa-a-domicile/?session_var_dossier={{json.data.id}}&cancelurl={{ portal_url }}solidarite-social/page-de-suivi-social/accueil-dossier-social/?dossier={{json.data.id}}" class="turquoise-button">Faire une révision APA</a></p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% load combo assets %}
|
||||
{% if json.data %}
|
||||
|
||||
{% if json.data.dossier.DEMANDES %}
|
||||
{% if json.data.dossier.DEMANDES %}
|
||||
{% if json.data.dossier.DEMANDES.AD and json.data.dossier.DEMANDES.PH %}
|
||||
<h2>Consulter mes dossiers</h2>
|
||||
{% else %}
|
||||
|
@ -10,15 +10,15 @@
|
|||
<div class="mes-dossiers">
|
||||
{% if json.data.dossier.DEMANDES.AD %}
|
||||
<a href="ad/?dossi
|
||||
er={{json.data.id}}" class="dossier-autonomie" style="background-image: url('{% asset_url "social:dossiers:autonomie" %}')">Dossier AUTONOMIE</a>
|
||||
er={{json.data.id}}" class="dossier-autonomie" style="background-image: url('{% asset_url "social:dossiers:autonomie" %}')">Dossier AUTONOMIE</a>
|
||||
{% endif %}
|
||||
{% if json.data.dossier.DEMANDES.PH %}
|
||||
<a href="ph/?dossier={{json.data.id}}" class="dossier-handicap" style="background-image: url('{% asset_url "social:dossiers:handicap" %}')">Dossier HANDICAP</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
{% else %}
|
||||
<h2>Consulter mes dossiers</h2>
|
||||
<div><p>Vous n’avez pas de demande ou de droits en cours.</p></div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{% load combo %}
|
||||
{% if json.data %}
|
||||
|
||||
<h3>MES DOSSIERS ({{json.data|length}})</h3>
|
||||
<div class="dossiers">
|
||||
{% for line in json.data %}
|
||||
<p><a href="accueil-dossier-social/?dossier={{line.id}}" class="dossier-social">{{line.dossier.IDENTIFICATION.0.PRENOM}} {{line.dossier.IDENTIFICATION.0.NOM}}</a></p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<h3>MES DOSSIERS ({{json.data|length}})</h3>
|
||||
<div class="dossiers">
|
||||
{% for line in json.data %}
|
||||
<p><a href="accueil-dossier-social/?dossier={{line.id}}" class="dossier-social">{{line.dossier.IDENTIFICATION.0.PRENOM}} {{line.dossier.IDENTIFICATION.0.NOM}}</a></p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
{% load combo %}
|
||||
{% if json.data %}
|
||||
|
||||
<div>
|
||||
{% if json.data|length == 1 %}
|
||||
<p style="text-align: center;"><a href="dossier-beneficiaire-social/?dossier={{json.data.0.id}}">▶ Accéder à mon dossier<br/>{{json.data.0.dossier.IDENTIFICATION.0.PRENOM}} {{json.data.0.dossier.IDENTIFICATION.0.NOM}}</a></p>
|
||||
{% else %}
|
||||
<h2>Mes dossiers ({{json.data|length}})</h2>
|
||||
{% for line in json.data %}
|
||||
<p><a href="dossier-beneficiaire-social/?dossier={{line.id}}">▶ {{line.dossier.IDENTIFICATION.0.PRENOM}} {{line.dossier.IDENTIFICATION.0.NOM}}</a></p>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>
|
||||
{% if json.data|length == 1 %}
|
||||
<p style="text-align: center;"><a href="dossier-beneficiaire-social/?dossier={{json.data.0.id}}">▶ Accéder à mon dossier<br/>{{json.data.0.dossier.IDENTIFICATION.0.PRENOM}} {{json.data.0.dossier.IDENTIFICATION.0.NOM}}</a></p>
|
||||
{% else %}
|
||||
<h2>Mes dossiers ({{json.data|length}})</h2>
|
||||
{% for line in json.data %}
|
||||
<p><a href="dossier-beneficiaire-social/?dossier={{line.id}}">▶ {{line.dossier.IDENTIFICATION.0.PRENOM}} {{line.dossier.IDENTIFICATION.0.NOM}}</a></p>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div>
|
||||
{% if json.data|length == 1 %}
|
||||
<p style="text-align: center;"><a href="{{ eservices_url }}social/supprimer-un-beneficiaire-pre-prod/?cancelurl={{ portal_url }}social-preprod/">⏏ Désappairer mon dossier</a></p>
|
||||
{% elif json.data|length > 1%}
|
||||
<h2>Enlever un dossier de mon compte</h2>
|
||||
<p><a href="{{ eservices_url }}social/supprimer-un-beneficiaire-pre-prod/?cancelurl={{ portal_url }}social-preprod/">⏏ Désappairer un dossier</a></p><br/>
|
||||
{% endif %}
|
||||
{% if json.data|length == 1 %}
|
||||
<p style="text-align: center;"><a href="{{ eservices_url }}social/supprimer-un-beneficiaire-pre-prod/?cancelurl={{ portal_url }}social-preprod/">⏏ Désappairer mon dossier</a></p>
|
||||
{% elif json.data|length > 1%}
|
||||
<h2>Enlever un dossier de mon compte</h2>
|
||||
<p><a href="{{ eservices_url }}social/supprimer-un-beneficiaire-pre-prod/?cancelurl={{ portal_url }}social-preprod/">⏏ Désappairer un dossier</a></p><br/>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if json.data %}<hr/>{% endif %}
|
|
@ -1,46 +1,46 @@
|
|||
<!-- Titre -->
|
||||
{% if json %}
|
||||
<h2>{{ json.title|default:"" }} {{ json.first_name }} {{ json.last_name|upper }}</h2>
|
||||
<h2>{{ json.title|default:"" }} {{ json.first_name }} {{ json.last_name|upper }}</h2>
|
||||
{% endif %}
|
||||
<!-- Fin Titre -->
|
||||
|
||||
<!-- Avertissements -->
|
||||
{% if not json and not fiche %}
|
||||
<div class="warningnotice"><p>Ce senior n'existe pas.</p></div>
|
||||
<div class="warningnotice"><p>Ce senior n'existe pas.</p></div>
|
||||
{% endif %}
|
||||
|
||||
{% if not json and fiche %}
|
||||
<div class="warningnotice"><p>Le compte en ligne de ce senior a été supprimé. Il n'est plus possible de modifier sa fiche ni de faire de nouvelle inscription.</p></div>
|
||||
<div class="warningnotice"><p>Le compte en ligne de ce senior a été supprimé. Il n'est plus possible de modifier sa fiche ni de faire de nouvelle inscription.</p></div>
|
||||
{% endif %}
|
||||
|
||||
{% if fiche.fields.archive %}
|
||||
<div class="warningnotice"><p>Le senior est archivé.</p></div>
|
||||
<div class="warningnotice"><p>Le senior est archivé.</p></div>
|
||||
{% endif %}
|
||||
|
||||
{% if json and json.birthdate and json.birthdate|age_in_years|decimal < 55 %}
|
||||
<div class="warningnotice"><p>Le senior a moins de 55 ans ({{ json.birthdate|date:"d/m/Y" }} soit {{ json.birthdate|age_in_years }} ans).</p></div>
|
||||
<div class="warningnotice"><p>Le senior a moins de 55 ans ({{ json.birthdate|date:"d/m/Y" }} soit {{ json.birthdate|age_in_years }} ans).</p></div>
|
||||
{% endif %}
|
||||
|
||||
{% if fiche.fields.adresse_erreur %}
|
||||
<div class="warningnotice"><p>L'adresse est en erreur.</p></div>
|
||||
<div class="warningnotice"><p>L'adresse est en erreur.</p></div>
|
||||
{% endif %}
|
||||
<!-- Fin Avertissements -->
|
||||
|
||||
|
||||
<!-- User sans fiche, à créer -->
|
||||
{% if json and not fiche %}
|
||||
<div class="infonotice">
|
||||
<div class="infonotice">
|
||||
<p>Le senior dispose d'un compte. Il est désormais nécessaire de créer sa fiche pour l'inscrire à des activités :
|
||||
<a href="{{ eservices_url }}backoffice/data/senior/add/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">créer la fiche du senior</a></p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<!-- Fin User sans fiche, à créer -->
|
||||
|
||||
|
||||
<!-- Infos lieu d'inscription -->
|
||||
{% if fiche %}
|
||||
<div class="infonotice">
|
||||
<table style="width:100%;">
|
||||
<div class="infonotice">
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<!-- Colonne de gauche - Lieu d'inscription -->
|
||||
<td style="width:50%; vertical-align: top; padding: 1em;">
|
||||
|
@ -56,8 +56,8 @@
|
|||
{% if not fiche.fields.archive %}- <a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-de-la-fiche-a-imprimer-signee/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">{% if fiche.fields.fiche_senior_signee %}Modifier{% else %}Déposer la fiche signée{% endif %}</a>{% if fiche.fields.fiche_senior_signee %} / <a href="{{ eservices_url }}backoffice/submission/seniors-suppression-de-la-fiche-a-imprimer-signee/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">Supprimer<a/>{% endif %}{% endif %}</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
<!-- Fin Infos lieu d'inscription -->
|
||||
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
{% if json and fiche %}
|
||||
|
||||
<div>
|
||||
<!-- Infos sur la création -->
|
||||
<h3>Informations générales</h3>
|
||||
<p>Date de création : <strong>{{ fiche.receipt_time|date }}</strong><br/>
|
||||
Par : <strong>{{ fiche.evolution.0.who.name }}</strong></p>
|
||||
{% if fiche.fields.url_historique %}
|
||||
<p><a href="{{ fiche.fields.url_historique }}" target="_blank">Historique EUDONET</a></p>
|
||||
{% endif %}
|
||||
<!-- Fin Infos sur la création -->
|
||||
<div>
|
||||
<!-- Infos sur la création -->
|
||||
<h3>Informations générales</h3>
|
||||
<p>Date de création : <strong>{{ fiche.receipt_time|date }}</strong><br/>
|
||||
Par : <strong>{{ fiche.evolution.0.who.name }}</strong></p>
|
||||
{% if fiche.fields.url_historique %}
|
||||
<p><a href="{{ fiche.fields.url_historique }}" target="_blank">Historique EUDONET</a></p>
|
||||
{% endif %}
|
||||
<!-- Fin Infos sur la création -->
|
||||
|
||||
<!-- Gestion de l'archivage et de la suppression -->
|
||||
<p>{% if not fiche.fields.archive %}<a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-de-l-archivage/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">Archiver le senior</a>{% else %}<strong>Senior archivé</strong> (<a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-de-l-archivage/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">Réactiver le senior</a>){% endif %}</p>
|
||||
{% if fiche.fields.archive and user|has_role:"Administrateur des seniors" %}
|
||||
<p><strong>Suppression :</strong>
|
||||
<!-- Gestion de l'archivage et de la suppression -->
|
||||
<p>{% if not fiche.fields.archive %}<a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-de-l-archivage/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">Archiver le senior</a>{% else %}<strong>Senior archivé</strong> (<a href="{{ eservices_url }}backoffice/submission/seniors-mise-a-jour-de-l-archivage/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">Réactiver le senior</a>){% endif %}</p>
|
||||
{% if fiche.fields.archive and user|has_role:"Administrateur des seniors" %}
|
||||
<p><strong>Suppression :</strong>
|
||||
<ul>
|
||||
<li>1 - <a href="{{ eservices_url }}backoffice/management/inscription-aux-activites/toutes/?filter-user-uuid={{ name_id }}&keep-view-filters=on" target="_blank">Anonymiser les inscriptions</a></li>
|
||||
<li>2 - <a href="{{ eservices_url }}backoffice/submission/seniors-supprimer-un-senior/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/">Supprimer le senior</a></li>
|
||||
</ul>
|
||||
</p>
|
||||
{% endif %}
|
||||
<p> </p>
|
||||
<!-- Fin Gestion de l'archivage et de la suppression -->
|
||||
</div>
|
||||
</p>
|
||||
{% endif %}
|
||||
<p> </p>
|
||||
<!-- Fin Gestion de l'archivage et de la suppression -->
|
||||
</div>
|
||||
|
||||
<!-- Gestion des inscriptions -->
|
||||
<div class="links-list">
|
||||
<h3>Inscriptions</h3>
|
||||
<p>
|
||||
<!-- Gestion des inscriptions -->
|
||||
<div class="links-list">
|
||||
<h3>Inscriptions</h3>
|
||||
<p>
|
||||
<ul>
|
||||
{% if not fiche.fields.archive %}
|
||||
<li style="text-align: center;"><a href="{{ eservices_url }}backoffice/submission/inscription-aux-activites/?NameID={{ json.uuid }}&ReturnURL={{ portal_agent_url }}espace-seniors/page-senior/{{ json.uuid }}/"><strong>> Nouvelle inscription <</strong></a></li>
|
||||
|
@ -35,20 +35,20 @@ Par : <strong>{{ fiche.evolution.0.who.name }}</strong></p>
|
|||
<li style="text-align: center;"><a href="{{ eservices_url }}backoffice/management/inscription-aux-activites/?filter-user-uuid={{ name_id }}&keep-view-filters=on" target="_blank">Les inscriptions du senior</a></li>
|
||||
<li style="text-align: center;"><a href="{{ eservices_url }}backoffice/data/senior/{{ fiche.id }}/">Décomptes du senior</a></li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
<!-- Fin Gestion des inscriptions -->
|
||||
</p>
|
||||
</div>
|
||||
<!-- Fin Gestion des inscriptions -->
|
||||
|
||||
<!-- Gestion des paiements -->
|
||||
<div class="links-list">
|
||||
<h3>Paiements</h3>
|
||||
<p>
|
||||
<!-- Gestion des paiements -->
|
||||
<div class="links-list">
|
||||
<h3>Paiements</h3>
|
||||
<p>
|
||||
<ul>
|
||||
<li style="text-align: center;"><a href="{{ eservices_url }}backoffice/data/reglement/?filter-user-uuid={{ name_id }}&keep-view-filters=on">Règlements</a></li>
|
||||
<li style="text-align: center;"><a href="{{ eservices_url }}backoffice/data/remboursement/?filter-user-uuid={{ name_id }}&keep-view-filters=on">Remboursements</a></li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
<!-- Fin Gestion des paiements -->
|
||||
</p>
|
||||
</div>
|
||||
<!-- Fin Gestion des paiements -->
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
{% if json.data %}
|
||||
|
||||
<h2>Dossier Autonomie : {% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
|
||||
<h2>Dossier Autonomie : {% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
|
||||
|
||||
{% if json.data.dossier.DEMANDES.AD %}
|
||||
<div class="cell pink-header">
|
||||
{% if json.data.dossier.DEMANDES.AD %}
|
||||
<div class="cell pink-header">
|
||||
<h3>MES DEMANDES</h3>
|
||||
<div class="ph">
|
||||
<table>
|
||||
|
@ -28,10 +28,10 @@
|
|||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if json.data.dossier.DROITS.AD %}
|
||||
<div class="cell pink-header">
|
||||
{% if json.data.dossier.DROITS.AD %}
|
||||
<div class="cell pink-header">
|
||||
<h3>MES DROITS</h3>
|
||||
<div class="ph">
|
||||
<table>
|
||||
|
@ -52,6 +52,6 @@
|
|||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
{% if json.data %}
|
||||
|
||||
<h2>Dossier Handicap : {% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
|
||||
<h2>Dossier Handicap : {% if json.data.dossier.IDENTIFICATION.0.PRENOM %}{{json.data.dossier.IDENTIFICATION.0.PRENOM}}{% endif %} {% if json.data.dossier.IDENTIFICATION.0.NOM %}{{json.data.dossier.IDENTIFICATION.0.NOM}}{% endif %}</h2>
|
||||
|
||||
<div class="cell pink-header">
|
||||
{% if json.data.dossier.DEMANDES.PH %}
|
||||
<h3>MES DEMANDES</h3>
|
||||
<div class="ph">
|
||||
<div class="cell pink-header">
|
||||
{% if json.data.dossier.DEMANDES.PH %}
|
||||
<h3>MES DEMANDES</h3>
|
||||
<div class="ph">
|
||||
<table>
|
||||
<caption>ÉTAT D’AVANCEMENT DE VOS DEMANDES À CE JOUR</caption>
|
||||
<tr>
|
||||
|
@ -26,14 +26,14 @@
|
|||
<td><a href="detail-demande-social-ph/?dossier={{json.data.id}}&demande={{demande.ID_MES}}" class="see-more">Voir plus</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if json.data.dossier.DROITS.PH %}
|
||||
<div class="cell pink-header">
|
||||
<h3>MES DROITS</h3>
|
||||
<div class="ph">
|
||||
{% if json.data.dossier.DROITS.PH %}
|
||||
<div class="cell pink-header">
|
||||
<h3>MES DROITS</h3>
|
||||
<div class="ph">
|
||||
<table>
|
||||
<caption>DROITS EN COURS</caption>
|
||||
<tr>
|
||||
|
@ -51,7 +51,7 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block bodyclasses %}{{ block.super }} homepage{% endblock %}
|
||||
|
||||
{% block combo-content %}
|
||||
<div class="homepage-container">
|
||||
<div class="homepage-container">
|
||||
<div class="homepage-banner">
|
||||
<div class="homepage-banner--left">
|
||||
{% placeholder "banner-left" name="Bannière (bloc gauche)" %}
|
||||
|
@ -50,5 +50,5 @@
|
|||
{% placeholder "pre-footer" name="En-tête du pied de page" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -8,18 +8,18 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block header-content %}
|
||||
<div class="header--logos-partners">
|
||||
<div class="header--logos-partners">
|
||||
<a class="header--cd06-link" href="https://www.departement06.fr/" target="_blank" title="Département des Alpes Maritimes (nouvelle fenêtre)">
|
||||
<img alt="Département des Alpes Maritimes" src="{{site_base}}{% static "" %}{{css_variant}}/img/logo-departement06-header.svg">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block footer-pre %}
|
||||
<div class="footer--logos-partners">
|
||||
<div class="footer--logos-partners">
|
||||
<a class="footer--feder-link" href="{{feder_url|default:'https://europe.maregionsud.fr/que-fait-leurope-dans-ma-region/fonds-europeens-structurels-et-dinvestissement-2014-2020/feder/'}}" target="_blank" title="Fonds Européen de Développement Régional (nouvelle fenêtre)">
|
||||
<img alt="Fonds Européen de Développement Régional" src="{{site_base}}{% static "" %}{{css_variant}}/img/logo-feder.svg">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue