13187-Fix tab image in Alerts->List of special days

This commit is contained in:
Pablo Aragon 2024-04-16 08:45:14 +02:00
parent 79de803299
commit 433dfbe3e2
1 changed files with 11 additions and 0 deletions

View File

@ -210,6 +210,17 @@ class CalendarManager
if ($op === 'edit' && $action === '') {
$tab = 'list_edit';
$buttons['list_edit'] = [
'active' => false,
'text' => '<a href="'.ui_get_full_url($this->url.'&tab_calendar=list&op=edit').'">'.html_print_image(
'images/edit.svg',
true,
[
'title' => __('Edit calendar'),
'class' => 'main_menu_icon invert_filter',
]
).'</a>',
];
}
$buttons[$tab]['active'] = true;