From 704e539cc40a9298915a07b22da716c06e4b7ca5 Mon Sep 17 00:00:00 2001 From: FabioL <1647128+loviuz@users.noreply.github.com> Date: Fri, 3 Jun 2022 16:41:32 +0200 Subject: [PATCH 1/2] Fix logiche bot stale --- .github/stale.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/stale.yml b/.github/stale.yml index 7b115f545..3cbf1286a 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -23,22 +23,22 @@ exemptProjects: false exemptMilestones: false # Set to true to ignore issues with an assignee (defaults to false) -exemptAssignees: false +exemptAssignees: true # Label to use when marking as stale staleLabel: in chiusura # Comment to post when marking as stale. Set to `false` to disable markComment: > - Issue chiusa automaticamente in assenza di attività. + Issue in chiusura fra 7 giorni per mancanza di attività. # Comment to post when removing the stale label. # unmarkComment: > # Your comment here. # Comment to post when closing a stale Issue or Pull Request. -# closeComment: > -# Your comment here. +closeComment: > + Issue chiusa per inattività. # Limit the number of actions per hour, from 1-30. Default is 30 limitPerRun: 30 From 551f0be0c47f05d4cb8ac795385fa099d544f98f Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 3 Jun 2022 18:34:30 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Fix=20minore=20abilita=20notifiche=20cambio?= =?UTF-8?q?=20stato=20attivit=C3=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/stati_intervento/edit.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/stati_intervento/edit.php b/modules/stati_intervento/edit.php index 9050129a5..44f6d9c7d 100755 --- a/modules/stati_intervento/edit.php +++ b/modules/stati_intervento/edit.php @@ -131,6 +131,9 @@ if ($record['can_delete']) { $("#notifica_cliente").attr("disabled", false); $("#notifica_tecnico_sessione").attr("disabled", false); $("#notifica_tecnico_assegnato").attr("disabled", false); + $(".btn[for=notifica_cliente]").attr("disabled", false); + $(".btn[for=notifica_tecnico_sessione]").attr("disabled", false); + $(".btn[for=notifica_tecnico_assegnato]").attr("disabled", false); }else{ $("#email").attr("required", false); $("#email").attr("disabled", true); @@ -142,6 +145,9 @@ if ($record['can_delete']) { $("#notifica_cliente").val([0]); $("#notifica_tecnico_sessione").val([0]); $("#notifica_tecnico_assegnato").val([0]); + $(".btn[for=notifica_cliente]").attr("disabled", true); + $(".btn[for=notifica_tecnico_sessione]").attr("disabled", true); + $(".btn[for=notifica_tecnico_assegnato]").attr("disabled", true); } }