diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2026-02-02 14:51:34 +0100 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2026-02-02 14:51:34 +0100 |
| commit | bd6891dfc0eb1b694668170742e6d48f211385d8 (patch) | |
| tree | ca1523bc085ad23e1123bd5cb06d300325e825dd /app | |
| parent | 991f2829e266bfcaf51fbf465e3ed82887770bc6 (diff) | |
send new request mails to more users with resource permissions, added RESOURCES_DISABLE_MAIL_ON_NEW_REQUEST personal configtic-05810
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/settings/general.php | 1 | ||||
| -rw-r--r-- | app/views/settings/general.php | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/app/controllers/settings/general.php b/app/controllers/settings/general.php index 0d1daa3..82754b2 100644 --- a/app/controllers/settings/general.php +++ b/app/controllers/settings/general.php @@ -68,6 +68,7 @@ class Settings_GeneralController extends Settings_SettingsController $this->config->store('TOUR_AUTOSTART_DISABLE', Request::int('tour_autostart_disable')); if ($this->show_room_management_autor_config) { $this->config->store('RESOURCES_CONFIRM_PLAN_DRAG_AND_DROP', Request::int('resources_confirm_plan_drag_and_drop')); + $this->config->store('RESOURCES_DISABLE_MAIL_ON_NEW_REQUEST', Request::int('resources_disable_mail_on_new_request')); } if (Request::int('personal_notifications_activated')) { diff --git a/app/views/settings/general.php b/app/views/settings/general.php index 14e47be..f01a254 100644 --- a/app/views/settings/general.php +++ b/app/views/settings/general.php @@ -111,6 +111,15 @@ $start_pages = [ _('Wenn diese Einstellung aktiviert ist, wird die Buchung erst dann verschoben, wenn die Sicherheitsabfrage mit „Ja“ beantwortet wurde.') ) ?> </label> + <label> + <input type="checkbox" name="resources_disable_mail_on_new_request" + value="1" + <?= $config->RESOURCES_DISABLE_MAIL_ON_NEW_REQUEST ? 'checked' : '' ?>> + <?= _('Benachrichtigungen über neue Raumanfragen ausschalten') ?> + <?= tooltipIcon( + _('Wenn diese Einstellung aktiviert ist, erhalten Sie keine Nachrichten mehr über neue Raumanfragen.') + ) ?> + </label> </fieldset> <? endif ?> |
