add export template feature flag
This commit is contained in:
parent
cec73e07a5
commit
e235131c4c
3 changed files with 21 additions and 18 deletions
|
@ -20,6 +20,7 @@
|
|||
- menu.with_item do
|
||||
= link_to download_export_path(export_template_id: export_template.id), role: 'menuitem', data: { turbo_method: :post, turbo: true } do
|
||||
= "Exporter à partir du modèle #{export_template.name}"
|
||||
- if feature_enabled?(:export_template)
|
||||
- menu.with_item do
|
||||
= link_to new_instructeur_export_template_path(procedure_id: params[:procedure_id]), role: 'menuitem' do
|
||||
Ajouter un modèle d'export
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
- else
|
||||
= t('.no_export_html', expiration_time: Export::MAX_DUREE_CONSERVATION_EXPORT.in_hours.to_i )
|
||||
|
||||
- if feature_enabled?(:export_template)
|
||||
%h2.fr-mb-1w.fr-mt-8w
|
||||
Liste des modèles d'export
|
||||
%p.fr-hint-text
|
||||
|
|
|
@ -25,6 +25,7 @@ features = [
|
|||
:dossier_pdf_vide,
|
||||
:engagement_juridique_type_de_champ,
|
||||
:export_order_by_revision,
|
||||
:export_template,
|
||||
:expression_reguliere_type_de_champ,
|
||||
:gallery_demande,
|
||||
:groupe_instructeur_api_hack,
|
||||
|
|
Loading…
Reference in a new issue