From 7cb1b456f6de1808d61f2169bcab0f87dcda906c Mon Sep 17 00:00:00 2001 From: Mathieu De Keyzer Date: Tue, 20 Feb 2024 20:06:43 +0100 Subject: [PATCH] ref: glyphicon-export => fa-archive --- .../elasticsearch/export-search.html.twig | 2 +- .../src/Form/Form/ExportDocumentsType.php | 2 +- .../src/Form/Form/SearchFormType.php | 24 +++++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elasticsearch/export-search.html.twig b/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elasticsearch/export-search.html.twig index bb2bd4049..a3e01d2e6 100644 --- a/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elasticsearch/export-search.html.twig +++ b/EMS/admin-ui-bundle/src/Resources/views/bootstrap5/elasticsearch/export-search.html.twig @@ -13,7 +13,7 @@

- + {{ 'views.elasticsearch.export-search.title'|trans }}

diff --git a/EMS/core-bundle/src/Form/Form/ExportDocumentsType.php b/EMS/core-bundle/src/Form/Form/ExportDocumentsType.php index 3c0d4338c..55bbc37aa 100644 --- a/EMS/core-bundle/src/Form/Form/ExportDocumentsType.php +++ b/EMS/core-bundle/src/Form/Form/ExportDocumentsType.php @@ -49,7 +49,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void ->add('export', SubmitEmsType::class, [ 'label' => 'Export '.$data->getContentType()->getPluralName(), 'attr' => ['class' => 'btn btn-primary btn-sm '], - 'icon' => 'glyphicon glyphicon-export', + 'icon' => 'fa fa-archive', ]); } } diff --git a/EMS/core-bundle/src/Form/Form/SearchFormType.php b/EMS/core-bundle/src/Form/Form/SearchFormType.php index b58417dc4..a1c6d70c8 100644 --- a/EMS/core-bundle/src/Form/Form/SearchFormType.php +++ b/EMS/core-bundle/src/Form/Form/SearchFormType.php @@ -113,15 +113,15 @@ public function buildForm(FormBuilderInterface $builder, array $options): void ]); $builder->add('search', SubmitEmsType::class, [ - 'attr' => [ - 'class' => 'btn btn-primary btn-md', - ], - 'icon' => 'fa fa-search', + 'attr' => [ + 'class' => 'btn btn-primary btn-md', + ], + 'icon' => 'fa fa-search', ])->add('exportResults', SubmitEmsType::class, [ - 'attr' => [ - 'class' => 'btn btn-primary btn-sm', - ], - 'icon' => 'glyphicon glyphicon-export', + 'attr' => [ + 'class' => 'btn btn-primary btn-sm', + ], + 'icon' => 'fa fa-archive', ])->add('environments', EnvironmentPickerType::class, [ 'multiple' => true, 'required' => false, @@ -133,10 +133,10 @@ public function buildForm(FormBuilderInterface $builder, array $options): void ]); if (!$options['savedSearch']) { $builder->add('save', SubmitEmsType::class, [ - 'attr' => [ - 'class' => 'btn btn-primary btn-md', - ], - 'icon' => 'fa fa-save', + 'attr' => [ + 'class' => 'btn btn-primary btn-md', + ], + 'icon' => 'fa fa-save', ]); } }