show existing keyboard-shortcut hints on the task Actions menu

This commit is contained in:
2026-07-10 17:56:55 -03:00
parent b63d366296
commit e032d5d2b4
4 changed files with 60 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ class ConfigController extends BaseController
'organon_tweaks_show_all_filter' => (int) $this->configModel->get('organon_tweaks_show_all_filter', 1),
'organon_tweaks_month_filters' => (int) $this->configModel->get('organon_tweaks_month_filters', 1),
'organon_tweaks_recurring_filters' => (int) $this->configModel->get('organon_tweaks_recurring_filters', 1),
'organon_tweaks_shortcut_labels' => (int) $this->configModel->get('organon_tweaks_shortcut_labels', 1),
),
'errors' => array(),
)));
@@ -39,6 +40,7 @@ class ConfigController extends BaseController
$showAllFilter = isset($values['organon_tweaks_show_all_filter']) ? 1 : 0;
$monthFilters = isset($values['organon_tweaks_month_filters']) ? 1 : 0;
$recurringFilters = isset($values['organon_tweaks_recurring_filters']) ? 1 : 0;
$shortcutLabels = isset($values['organon_tweaks_shortcut_labels']) ? 1 : 0;
if ($this->configModel->save(array(
'organon_tweaks_always_comment_icon' => $alwaysCommentIcon,
@@ -49,6 +51,7 @@ class ConfigController extends BaseController
'organon_tweaks_show_all_filter' => $showAllFilter,
'organon_tweaks_month_filters' => $monthFilters,
'organon_tweaks_recurring_filters' => $recurringFilters,
'organon_tweaks_shortcut_labels' => $shortcutLabels,
))) {
$this->flash->success(t('Settings saved successfully.'));
} else {