... | ... |
@@ -110,7 +110,7 @@ $GLOBALS['TL_DCA']['tl_vr_wa_standort'] = array |
110 | 110 |
'palettes' => array |
111 | 111 |
( |
112 | 112 |
'__selector__' => ['nc_enable'], |
113 |
- 'default' => '{title_legend},title;{units_legend},units;{notification_legend},nc_enable' |
|
113 |
+ 'default' => '{title_legend},title;{units_legend},units,disable_base_unit;{notification_legend},nc_enable' |
|
114 | 114 |
), |
115 | 115 |
|
116 | 116 |
// Subpalettes |
... | ... |
@@ -152,7 +152,7 @@ $GLOBALS['TL_DCA']['tl_vr_wa_standort'] = array |
152 | 152 |
( |
153 | 153 |
'mandatory' => false, |
154 | 154 |
'multiple' => true, |
155 |
- 'tl_class' => 'clr' |
|
155 |
+ 'tl_class' => 'clr w50' |
|
156 | 156 |
), |
157 | 157 |
'sql' => "blob NULL", |
158 | 158 |
'relation' => array |
... | ... |
@@ -161,11 +161,18 @@ $GLOBALS['TL_DCA']['tl_vr_wa_standort'] = array |
161 | 161 |
'load' => 'lazy' |
162 | 162 |
) |
163 | 163 |
), |
164 |
+ 'disable_base_unit' => array |
|
165 |
+ ( |
|
166 |
+ 'exclude' => true, |
|
167 |
+ 'inputType' => 'checkbox', |
|
168 |
+ 'eval' => array('tl_class'=>'w50'), |
|
169 |
+ 'sql' => "char(1) NOT NULL default ''" |
|
170 |
+ ), |
|
164 | 171 |
'nc_enable' => array |
165 | 172 |
( |
166 | 173 |
'exclude' => true, |
167 | 174 |
'inputType' => 'checkbox', |
168 |
- 'eval' => array('tl_class'=>'w50 m12','submitOnChange'=>true), |
|
175 |
+ 'eval' => array('tl_class'=>'clr w50 m12','submitOnChange'=>true), |
|
169 | 176 |
'sql' => "char(1) NOT NULL default ''" |
170 | 177 |
), |
171 | 178 |
'nc_notification' => array |
... | ... |
@@ -16,6 +16,8 @@ $GLOBALS['TL_LANG']['tl_vr_wa_standort']['nc_enable'][0] = 'Benachrichtigungen a |
16 | 16 |
$GLOBALS['TL_LANG']['tl_vr_wa_standort']['nc_enable'][1] = 'Ermöglicht das Versenden von Benachrichtigungen beim Veröffentlichen neuer Nachrichten.'; |
17 | 17 |
$GLOBALS['TL_LANG']['tl_vr_wa_standort']['nc_notification'][0] = 'Benachrichtigung'; |
18 | 18 |
$GLOBALS['TL_LANG']['tl_vr_wa_standort']['nc_notification'][1] = 'Die zu versendende Benachrichtigung.'; |
19 |
+$GLOBALS['TL_LANG']['tl_vr_wa_standort']['disable_base_unit'][0] = 'Basis-Einheit Bottich deaktivieren'; |
|
20 |
+$GLOBALS['TL_LANG']['tl_vr_wa_standort']['disable_base_unit'][1] = 'Bei der Slotbuchung kann die Basiseinheit "Bottich" nicht gewählt werden.'; |
|
19 | 21 |
|
20 | 22 |
$GLOBALS['TL_LANG']['tl_vr_wa_standort']['title_legend'] = 'Standort'; |
21 | 23 |
$GLOBALS['TL_LANG']['tl_vr_wa_standort']['units_legend'] = 'Einheiten-Einstellungen'; |