feat(api_entreprise): display partial information when degraded_mode
This commit is contained in:
parent
7636d35241
commit
0f318a1f7f
1 changed files with 147 additions and 138 deletions
|
@ -1,3 +1,12 @@
|
|||
- if etablissement.as_degraded_mode?
|
||||
%table.table.vertical.dossier-champs
|
||||
%tbody
|
||||
%tr
|
||||
%td.libelle{ colspan: 2 } ⚠ LʼINSEE est indisponible, les informations sur lʼentreprise arriveront dʼici quelques jours.
|
||||
%tr
|
||||
%td.libelle SIRET :
|
||||
%td= etablissement.siret
|
||||
- else
|
||||
%table.table.vertical.dossier-champs
|
||||
%tbody
|
||||
- if etablissement.diffusable_commercialement == false && profile != 'instructeur'
|
||||
|
|
Loading…
Reference in a new issue