diff --git a/library/Class/Template/Update.php b/library/Class/Template/Update.php index 5068978dad658214e6e3c1ab368484b2e5bd4cea..d20d8010a9a5ff62a5f234ab96c5f54ddd3ae312 100644 --- a/library/Class/Template/Update.php +++ b/library/Class/Template/Update.php @@ -21,12 +21,19 @@ class Class_Template_Update { + + use Trait_EchoError; + + public function run() { + $this->echoError("\nMise à jour des thèmes du magasin.\n"); $templates = (new Class_Template_Loader)->getTemplates(); array_walk($templates, function($template) { $template->updateSettings(); + $this->echoError(sprintf("Mise à jour du thème %s\n", $template->getId())); }); + $this->echoError("Mise à jour des thèmes du magasin terminée.\n"); } } diff --git a/public/opac/css/core.css b/public/opac/css/core.css index 1275ee0a0c166f2df0077bcbf6aac6f9be028f35..0a0b4159c6bd6b2d13ae4706c34b0b0b243a9745 100644 --- a/public/opac/css/core.css +++ b/public/opac/css/core.css @@ -193,4 +193,8 @@ ol.breadcrumb li { .password_toggle i { color: var(--front-background-modale) !important; +} + +input.form-control[type=text] { + display:unset; } \ No newline at end of file diff --git a/tests/scenarios/Templates/MuscleTemplateTest.php b/tests/scenarios/Templates/MuscleTemplateTest.php index 84272e0ed907680c143996e9564ac95f36920046..5650b031c8045733b110ccaf2df94b65b45cbd6f 100644 --- a/tests/scenarios/Templates/MuscleTemplateTest.php +++ b/tests/scenarios/Templates/MuscleTemplateTest.php @@ -347,7 +347,9 @@ class MuscleTemplateUpdateSettingsTest extends MuscleTemplateTestCase { $muscle_settings_instance->setMuscleIconsMapLibrary(['new_icon_key' => 'class far fa-new-ico']); $muscle_settings->setSettings(serialize($muscle_settings_instance->toArray()))->save(); - (new Class_Template_Update)->run(); + $updader = (new Class_Template_Update); + $updader->setEcho(true); + $updader->run(); $muscle_settings->clearCache(); }