landes-cd40: add data from MGDIS Aiden connector (#89268)
gitea/publik-base-theme/pipeline/head This commit looks good Details

This commit is contained in:
serghei 2024-04-08 17:42:51 +02:00 committed by Serghei Mihai
parent 9912b1795e
commit 932bfe3a6a
2 changed files with 8 additions and 2 deletions

View File

@ -134,6 +134,12 @@
"url": "{{ passerelle_url }}proxy/transmlph/request/api_publik.php?sub={{ user_nameid }}",
"cache_duration": 5,
"log_errors": false
},
{
"key": "aiden",
"url": "{{ passerelle_url }}mgdis/aiden/demands/NameID={{ user|user_id_for_service:\"mgdis\" }}",
"cache_duration": 5,
"log_errors": false
}
]
}

View File

@ -2,12 +2,12 @@
<h2 class="cell--title">{{ title }}</h2>
{% endif %}
{% if json.err and extranet.err and transmlph.err %}
{% if json.err and extranet.err and transmlph.err and aiden.err %}
<div class="cell--body">
<p class="empty-message">Informations indisponibles.</p>
</div>
{% else %}
{% with json.data|add:extranet.data|add:transmlph.data as data %}
{% with json.data|add:extranet.data|add:transmlph.data|add:aiden.data as data %}
{% if data %}
<div class="links-list current-forms list-of-forms">
<ul>