templates: do not assume optional services' presence in tenant conf (#75645) #5
|
@ -32,37 +32,37 @@
|
|||
"template_name": "{{wcs_skeleton_filename}}",
|
||||
"title": "Démarches"
|
||||
}},
|
||||
{% if tenants_conf['dev-passerelle'] %}
|
||||
{% if 'dev-passerelle' in tenants_conf and tenants_conf['dev-passerelle'] %}
|
||||
|
||||
{"create-passerelle": {
|
||||
"url": "https://{{tenants_conf['dev-passerelle']}}/",
|
||||
"title": "Passerelle"
|
||||
}},
|
||||
{% endif %}
|
||||
{% if tenants_conf['dev-fargo'] %}
|
||||
{% if 'dev-fargo' in tenants_conf and tenants_conf['dev-fargo'] %}
|
||||
{"create-fargo": {
|
||||
"url": "https://{{tenants_conf['dev-fargo']}}/",
|
||||
"title": "Porte-documents"
|
||||
}},
|
||||
{% endif %}
|
||||
{% if tenants_conf['dev-chrono'] %}
|
||||
{% if 'dev-chrono' in tenants_conf and tenants_conf['dev-chrono'] %}
|
||||
{"create-chrono": {
|
||||
"url": "https://{{tenants_conf['dev-chrono']}}/",
|
||||
"title": "Agendas"
|
||||
}},
|
||||
{% endif %}
|
||||
{% if tenants_conf['dev-bijoe'] %}
|
||||
{% if 'dev-bijoe' in tenants_conf and tenants_conf['dev-bijoe'] %}
|
||||
{"create-bijoe": {
|
||||
"url": "https://{{tenants_conf['dev-bijoe']}}/",
|
||||
"title": "Statistiques"
|
||||
}},
|
||||
{% endif %}
|
||||
{% if tenants_conf['dev-welco'] %}
|
||||
{% if 'dev-welco' in tenants_conf and tenants_conf['dev-welco'] %}
|
||||
{"create-welco": {
|
||||
"url": "https://{{tenants_conf['dev-welco']}}/",
|
||||
"title": "Courrier"
|
||||
}},
|
||||
{% endif %}
|
||||
{% if tenants_conf['dev-lingo'] %}
|
||||
{% if 'dev-lingo' in tenants_conf and tenants_conf['dev-lingo'] %}
|
||||
{"create-lingo": {
|
||||
"url": "https://{{tenants_conf['dev-lingo']}}/",
|
||||
"title": "Paiements"
|
||||
|
|
Loading…
Reference in New Issue
Je suis d'avis de garder Passerelle quand meme. J'aime bien passerelle.
Je ne fais que reprendre telle quelle la liste des services considérés comme optionnels dans Publik, et fais en sorte que si l’entrée correspondante dans la config de tenant est absente, ça ne crashe pas lors du déploiement.
Pour moi, revoir la liste des services considérés comme optionnels, c’est autre autre débat autre ticket autre PR.