Refine survey list layout and backend active toggle

This commit is contained in:
Jürgen Mummert
2026-06-07 20:52:57 +02:00
parent 59514c6911
commit fb9a5b9ee6
5 changed files with 65 additions and 57 deletions
+2 -2
View File
@@ -59,11 +59,11 @@ $GLOBALS['TL_DCA']['tl_survey'] = [
'icon' => 'important.svg',
'button_callback' => [SurveyDcaListener::class, 'generatePublishedWarningButton'],
],
'toggleActive' => [
'toggle' => [
'label' => &$GLOBALS['TL_LANG']['tl_survey']['toggleActive'],
'href' => 'act=toggle&field=isActive',
'icon' => 'visible.svg',
'button_callback' => [SurveyDcaListener::class, 'generateToggleActiveButton'],
'primary' => true,
],
'delete' => [
'href' => 'act=delete',