refactor: minor improvements
This commit is contained in:
parent
605c550e6c
commit
eabc43ce53
2 changed files with 2 additions and 5 deletions
|
@ -4,6 +4,7 @@ class Dossiers::ExportDropdownComponent < ApplicationComponent
|
||||||
include ApplicationHelper
|
include ApplicationHelper
|
||||||
|
|
||||||
attr_reader :wrapper
|
attr_reader :wrapper
|
||||||
|
attr_reader :export_templates
|
||||||
|
|
||||||
def initialize(procedure:, export_templates: nil, statut: nil, count: nil, class_btn: nil, export_url: nil, show_export_template_tab: true, wrapper: :div)
|
def initialize(procedure:, export_templates: nil, statut: nil, count: nil, class_btn: nil, export_url: nil, show_export_template_tab: true, wrapper: :div)
|
||||||
@procedure = procedure
|
@procedure = procedure
|
||||||
|
@ -35,8 +36,4 @@ class Dossiers::ExportDropdownComponent < ApplicationComponent
|
||||||
statut: @statut,
|
statut: @statut,
|
||||||
no_progress_notification: no_progress_notification)
|
no_progress_notification: no_progress_notification)
|
||||||
end
|
end
|
||||||
|
|
||||||
def export_templates
|
|
||||||
@export_templates
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
%p
|
%p
|
||||||
= t('views.instructeurs.dossiers.tab_explainations.archives')
|
= t('views.instructeurs.dossiers.tab_explainations.archives')
|
||||||
%br
|
%br
|
||||||
Ces dossiers seront supprimés lorsque leur délai de conservation dans Démarches-simplifiées
|
Ces dossiers seront supprimés lorsque leur délai de conservation dans #{APPLICATION_NAME}
|
||||||
- if @procedure.duree_conservation_dossiers_dans_ds
|
- if @procedure.duree_conservation_dossiers_dans_ds
|
||||||
= "(#{@procedure.duree_conservation_dossiers_dans_ds} mois)"
|
= "(#{@procedure.duree_conservation_dossiers_dans_ds} mois)"
|
||||||
sera expiré.
|
sera expiré.
|
||||||
|
|
Loading…
Reference in a new issue