fix attestation template boolean on procedure detail page (new admin interface)
This commit is contained in:
parent
4afc07c677
commit
c983622805
1 changed files with 2 additions and 2 deletions
|
@ -122,14 +122,14 @@
|
||||||
%h2.procedure-admin-explanation Pour aller plus loin
|
%h2.procedure-admin-explanation Pour aller plus loin
|
||||||
.procedure-grid
|
.procedure-grid
|
||||||
.card-admin
|
.card-admin
|
||||||
- if @procedure.attestation_template.present?
|
- if @procedure.attestation_template.present? && @procedure.attestation_template.activated
|
||||||
%div
|
%div
|
||||||
%span.icon.accept
|
%span.icon.accept
|
||||||
%p.card-admin-status-accept Activée
|
%p.card-admin-status-accept Activée
|
||||||
- else
|
- else
|
||||||
%div
|
%div
|
||||||
%span.icon.clock
|
%span.icon.clock
|
||||||
%p.card-admin-status-todo À activer
|
%p.card-admin-status-todo Désactivée
|
||||||
%div
|
%div
|
||||||
%p.card-admin-title Attestation
|
%p.card-admin-title Attestation
|
||||||
%p.card-admin-subtitle Délivrance automatique pour les dossiers acceptés
|
%p.card-admin-subtitle Délivrance automatique pour les dossiers acceptés
|
||||||
|
|
Loading…
Reference in a new issue