Projet

Général

Profil

0001-alpes-maritimes-2018-mes-associations-template-41279.patch

Nicolas Roche, 03 avril 2020 11:15

Télécharger (4,21 ko)

Voir les différences:

Subject: [PATCH] alpes-maritimes-2018: mes-associations template (#41279)

 static/alpes-maritimes-2018/config.json                       | 4 ++--
 .../alpes-maritimes-2018/combo/json/mes-associations.html     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
static/alpes-maritimes-2018/config.json
187 187
                  ],
188 188
                  "cache_duration": 1,
189 189
                  "name": "Sous-dossier Handicap",
190 190
                  "varnames": ["dossier"],
191 191
                  "url": "{{ passerelle_url }}atos-genesys/{% firstof slug genesys_slug \"genesys-prod\" %}/dossiers?NameID={{user_nameid}}&link_id={{ dossier }}"
192 192
              },
193 193
              "informations-association": {
194 194
                  "cache_duration": 1,
195
                  "name": "Informations de l'association",
195
                  "name": "Informations de l'organisme",
196 196
                  "form": [
197 197
                    {
198 198
                      "label": "Identifiant du connecteur",
199 199
                      "varname": "slug",
200 200
                      "required": true
201 201
                    }
202 202
                  ],
203 203
                  "additional-data": [
......
205 205
                     "url": "{{ passerelle_url }}astregs/{{ slug }}/get-contact?contact_id={{ json.data.EncodeKeyContact }}"
206 206
                    }
207 207
                  ],
208 208
                  "varnames": ["association_id"],
209 209
                  "url": "{{ passerelle_url }}astregs/{{ slug }}/get-association-by-id?association_id={{ association_id }}&NameID={{ user_nameid }}"
210 210
              },
211 211
              "mes-associations": {
212 212
                  "cache_duration": 1,
213
                  "name": "Mes associations",
213
                  "name": "Mes organismes",
214 214
                  "form": [
215 215
                    {
216 216
                      "label": "Identifiant du connecteur",
217 217
                      "varname": "slug",
218 218
                      "required": true
219 219
                    }
220 220
                  ],
221 221
                  "url": "{{ passerelle_url }}astregs/{{ slug }}/links?NameID={{ user_nameid }}"
templates/variants/alpes-maritimes-2018/combo/json/mes-associations.html
1 1
<div class="cell textcell pink-header">
2 2
  <div>
3
    <h3>Mes associations</h3>
3
    <h3>Mes organismes</h3>
4 4
    {% if json.data %}
5 5
    {% for association in json.data %}
6 6
    <h4 style="color: #001c76;">{{ association.text }}</h4>
7 7
    <p>
8 8
      <a href="{{ portal_url }}informations-de-lassociation/?association_id={{association.id}}">Voir les informations</a> -
9 9
      <a href="{{ eservices_url }}associations/modification-des-informations-relatives-a-mon-association/?association_id={{association.id}}&cancelurl={{ portal_url }}associations/">Modifier les informations</a> -
10 10
      <a href="{{ eservices_url }}associations/enlever-une-association-a-mon-profil/?association_id={{association.id}}&cancelurl={{ portal_url }}associations/">Enlever de mon profil</a>
11 11
    </p>
12 12
    <p>
13 13
      <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>
14 14
    </p>
15 15
    {% endfor %}
16 16
    {% else %}
17
    <p>Vous devez cliquer sur le bouton <a href="{{ eservices_url }}associations/ajouter-une-association-a-mon-profil/?cancelurl={{ portal_url }}associations/">ajouter une association à mon profil</a> pour poursuivre.</p>
17
    <p>Vous devez cliquer sur le bouton <a href="{{ eservices_url }}associations/ajouter-une-association-a-mon-profil/?cancelurl={{ portal_url }}associations/">ajouter un organisme à mon profil</a> pour poursuivre.</p>
18 18
    {% endif %}
19 19
  </div>
20 20
</div>
21
-