From 898768b10559ee8c883531ea0fa2ce6d146e88c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20L=C3=A9cluse?= <laurent.lecluse@unicaen.fr> Date: Fri, 3 Feb 2023 15:32:34 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20de=20bug=20:=20la=20MAJ=20d'activa?= =?UTF-8?q?tion/d=C3=A9sactivation=20ne=20fonctionnait=20plus=20suite=20pa?= =?UTF-8?q?ssage=20BS5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/unicaen-import/table/index.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 view/unicaen-import/table/index.phtml diff --git a/view/unicaen-import/table/index.phtml b/view/unicaen-import/table/index.phtml old mode 100644 new mode 100755 index 5225bed..619176d --- a/view/unicaen-import/table/index.phtml +++ b/view/unicaen-import/table/index.phtml @@ -44,7 +44,7 @@ echo $this->partial('unicaen-import/import/menu', ['active' => 'tables']); if (in_array($table->getName(), $views)) { $class = $table->isSyncEnabled() ? 'fas fa-check text-success' : 'fas fa-xmark text-danger refuse'; - $icon = $this->tag('i', ['class' => 'fas fa-check ' . $class, 'style' => 'font-size: 14pt']); + $icon = $this->tag('i', ['class' => 'activation fas fa-check ' . $class, 'style' => 'font-size: 14pt']); if ($canEdit) { echo $this->tag('a', [ @@ -133,7 +133,7 @@ echo $this->partial('unicaen-import/import/menu', ['active' => 'tables']); synchroSwitch: function (table) { var that = this; - var glyphSwitch = that.element.find("tr.table-ligne[data-table='" + table + "'] .glyph-switch"); + var glyphSwitch = that.element.find("tr.table-ligne[data-table='" + table + "'] .activation"); glyphSwitch.addClass('loading'); glyphSwitch.removeClass('fa-check text-success'); -- GitLab