27 lines
1.2 KiB
Text
27 lines
1.2 KiB
Text
.procedure-logos
|
||
- procedure_logo_alt = ''
|
||
- if procedure.service.present?
|
||
- procedure_logo_alt = "#{procedure.service.nom} − #{procedure.service.organisme}"
|
||
= image_tag procedure.logo_url, alt: procedure_logo_alt
|
||
- if procedure.euro_flag
|
||
= image_tag("flag_of_europe.svg", id: 'euro_flag', class: (!procedure.euro_flag ? "hidden" : ""))
|
||
%h1.procedure-title
|
||
= procedure.libelle
|
||
|
||
- if procedure.feature_enabled?(:procedure_estimated_fill_duration)
|
||
%p.procedure-configuration.procedure-configuration--fill-duration
|
||
%span.icon.clock
|
||
= t('shared.procedure_description.estimated_fill_duration', estimated_minutes: estimated_fill_duration_minutes(procedure))
|
||
|
||
- if procedure.auto_archive_on
|
||
%details.procedure-configuration.procedure-configuration--auto-archive
|
||
%summary
|
||
%span.icon.edit
|
||
|
||
%span.procedure-auto-archive-title Date limite : #{procedure_auto_archive_date(procedure)}
|
||
%p Vous pouvez déposer vos dossiers jusqu’au #{procedure_auto_archive_datetime(procedure)}.
|
||
|
||
.procedure-description
|
||
.procedure-description-body.read-more-enabled.read-more-collapsed
|
||
= h string_to_html(procedure.description)
|
||
= button_tag "Afficher la description complète", class: 'button read-more-button'
|