alpes-maritimes-2018: add associations related cells (#35305)
This commit is contained in:
parent
a54d07a747
commit
97169895f1
|
@ -80,6 +80,21 @@
|
|||
"cache_duration": 1,
|
||||
"name": "Sous-dossier Handicap",
|
||||
"url": "{{ passerelle_url }}atos-genesys/genesys-prod/dossiers?NameID={{user_nameid}}&link_id={{request.GET.dossier}}"
|
||||
},
|
||||
"contacts-association": {
|
||||
"cache_duration": 1,
|
||||
"name": "Contacts association",
|
||||
"url": "{{ passerelle_url }}astregs/associations/get-association-link-means?association_id={{request.GET.association_id}}&NameID={{user_nameid}}"
|
||||
},
|
||||
"informations-association": {
|
||||
"cache_duration": 1,
|
||||
"name": "Informations de l'association",
|
||||
"url": "{{ passerelle_url }}astregs/associations/get-association-by-id?association_id={{request.GET.association_id}}&NameID={{user_nameid}}"
|
||||
},
|
||||
"mes-associations": {
|
||||
"cache_duration": 1,
|
||||
"name": "Mes associations",
|
||||
"url": "{{ passerelle_url }}astregs/associations/links?NameID={{user_nameid}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<div class="cell textcell pink-header">
|
||||
<div>
|
||||
<h3>Moyens de contact</h3>
|
||||
<p>
|
||||
{% if json.data %}
|
||||
{% for canal in json.data %}
|
||||
{% if canal.type == "email" %}
|
||||
Courriel : <strong>{{canal.value}}</strong><br/>{% endif%}
|
||||
{% if canal.type == "mobile" %}Téléphone : <strong>{{canal.value}}</strong><br/>{% endif%}
|
||||
{% if canal.type == "mail" %}Adresse : <strong>{{canal.value}}</strong><br/>{% endif%}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
Aucun moyen de contact.
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,23 @@
|
|||
{% if json.data %}
|
||||
<div class="cell textcell pink-header">
|
||||
<div>
|
||||
<h2>{{json.data.NomEnregistrement}}</h2>
|
||||
<p>
|
||||
<a class="turquoise-button" href="{{ portal_url }}associations/">Retour</a>
|
||||
<a class="turquoise-button" href="{{ eservices_url }}associations/modification-des-informations-relatives-a-mon-association/?association_id={{json.data.CodeTiers}}&cancelurl={{ portal_url }}associations/">Modifier les informations</a>
|
||||
</p>
|
||||
<p>SIRET : <strong>{{json.data.NumeroSiret}} {{json.data.NumeroSiretFin }}</strong><br/>
|
||||
{% if json.data.Sigle %}Sigle : <strong>{{json.data.Sigle}}</strong><br/>{% endif %}
|
||||
{% if json.data.NumeroTelephone %}Numéro de téléphone : <strong>{{json.data.NumeroTelephone}}</strong><br/>{% endif %}
|
||||
{% if json.data.SiteWeb %}Site Web : <strong>{{json.data.SiteWeb}}</strong>{% endif %}
|
||||
</p>
|
||||
<p>Adresse :<br/>
|
||||
<strong>{% if json.data.AdresseLibelleRue %}{{ json.data.AdresseLibelleRue }}<br/>{% endif %}
|
||||
{% if json.data.AdresseComplementVoie %}{{ json.data.AdresseComplementVoie }}<br/>{% endif %}
|
||||
{% if json.data.AdresseCodePostal %}{{ json.data.AdresseCodePostal }}{% endif %}
|
||||
{% if json.data.AdresseBureauDistributeur %}{{ json.data.AdresseBureauDistributeur }}<br/>{% endif %}
|
||||
</strong>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
|
@ -0,0 +1,20 @@
|
|||
<div class="cell textcell pink-header">
|
||||
<div>
|
||||
<h3>Mes associations</h3>
|
||||
{% if json.data %}
|
||||
{% for association in json.data %}
|
||||
<h4 style="color: #001c76;">{{ association.text }}</h4>
|
||||
<p>
|
||||
<a href="{{ portal_url }}informations-de-lassociation/?association_id={{association.id}}">Voir les informations</a> -
|
||||
<a href="{{ eservices_url }}associations/modification-des-informations-relatives-a-mon-association/?association_id={{association.id}}&cancelurl={{ portal_url }}associations/">Modifier les informations</a> -
|
||||
<a href="{{ eservicesl_url }}associations/enlever-une-association-a-mon-profil/?association_id={{association.id}}&cancelurl={{ portal_url }}associations/">Enlever de mon profil</a>
|
||||
</p>
|
||||
<p>
|
||||
<a class="turquoise-button" href="{{ eservices_url }}associations/demande-de-subvention/?association_id={{association.id}}&cancelurl={{ portal_url }}associations/\">Faire une demande de subvention</a>
|
||||
</p>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<p>Vous devez cliquer sur le bouton <a href="{{ portal_url }}associations/ajouter-une-association-a-mon-profil/?cancelurl={{ portal_url }}associations/">ajouter une association à mon profil</a> pour poursuivre.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue