templates: do not assume optional services' presence in tenant conf (#75645)
gitea/publik-devinst/pipeline/head This commit looks good
Details
gitea/publik-devinst/pipeline/head This commit looks good
Details
This commit is contained in:
parent
446dc490f1
commit
4a6dd19739
|
@ -32,37 +32,37 @@
|
||||||
"template_name": "{{wcs_skeleton_filename}}",
|
"template_name": "{{wcs_skeleton_filename}}",
|
||||||
"title": "Démarches"
|
"title": "Démarches"
|
||||||
}},
|
}},
|
||||||
{% if tenants_conf['dev-passerelle'] %}
|
{% if 'dev-passerelle' in tenants_conf and tenants_conf['dev-passerelle'] %}
|
||||||
{"create-passerelle": {
|
{"create-passerelle": {
|
||||||
"url": "https://{{tenants_conf['dev-passerelle']}}/",
|
"url": "https://{{tenants_conf['dev-passerelle']}}/",
|
||||||
"title": "Passerelle"
|
"title": "Passerelle"
|
||||||
}},
|
}},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if tenants_conf['dev-fargo'] %}
|
{% if 'dev-fargo' in tenants_conf and tenants_conf['dev-fargo'] %}
|
||||||
{"create-fargo": {
|
{"create-fargo": {
|
||||||
"url": "https://{{tenants_conf['dev-fargo']}}/",
|
"url": "https://{{tenants_conf['dev-fargo']}}/",
|
||||||
"title": "Porte-documents"
|
"title": "Porte-documents"
|
||||||
}},
|
}},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if tenants_conf['dev-chrono'] %}
|
{% if 'dev-chrono' in tenants_conf and tenants_conf['dev-chrono'] %}
|
||||||
{"create-chrono": {
|
{"create-chrono": {
|
||||||
"url": "https://{{tenants_conf['dev-chrono']}}/",
|
"url": "https://{{tenants_conf['dev-chrono']}}/",
|
||||||
"title": "Agendas"
|
"title": "Agendas"
|
||||||
}},
|
}},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if tenants_conf['dev-bijoe'] %}
|
{% if 'dev-bijoe' in tenants_conf and tenants_conf['dev-bijoe'] %}
|
||||||
{"create-bijoe": {
|
{"create-bijoe": {
|
||||||
"url": "https://{{tenants_conf['dev-bijoe']}}/",
|
"url": "https://{{tenants_conf['dev-bijoe']}}/",
|
||||||
"title": "Statistiques"
|
"title": "Statistiques"
|
||||||
}},
|
}},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if tenants_conf['dev-welco'] %}
|
{% if 'dev-welco' in tenants_conf and tenants_conf['dev-welco'] %}
|
||||||
{"create-welco": {
|
{"create-welco": {
|
||||||
"url": "https://{{tenants_conf['dev-welco']}}/",
|
"url": "https://{{tenants_conf['dev-welco']}}/",
|
||||||
"title": "Courrier"
|
"title": "Courrier"
|
||||||
}},
|
}},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if tenants_conf['dev-lingo'] %}
|
{% if 'dev-lingo' in tenants_conf and tenants_conf['dev-lingo'] %}
|
||||||
{"create-lingo": {
|
{"create-lingo": {
|
||||||
"url": "https://{{tenants_conf['dev-lingo']}}/",
|
"url": "https://{{tenants_conf['dev-lingo']}}/",
|
||||||
"title": "Paiements"
|
"title": "Paiements"
|
||||||
|
|
Loading…
Reference in New Issue