simplified theme settings and standard layout (#586)

This commit is contained in:
Kevin Papst
2019-02-23 13:51:44 +01:00
committed by GitHub
parent 32fbebd469
commit 36a158a805
14 changed files with 54 additions and 143 deletions

View File

@@ -100,26 +100,11 @@ class UserPreferenceSubscriber implements EventSubscriberInterface
->setValue('green')
->setType(SkinType::class),
(new UserPreference())
->setName('theme.fixed_layout')
->setValue(true)
->setType(CheckboxType::class),
(new UserPreference())
->setName('theme.boxed_layout')
->setValue(false)
->setType(CheckboxType::class),
(new UserPreference())
->setName('theme.collapsed_sidebar')
->setValue(false)
->setType(CheckboxType::class),
(new UserPreference())
->setName('theme.mini_sidebar')
->setValue(true)
->setType(CheckboxType::class),
(new UserPreference())
->setName('calendar.initial_view')
->setValue(CalendarViewType::DEFAULT_VIEW)