added database driven system configurations with admin screen (#647)

This commit is contained in:
Kevin Papst
2019-03-22 20:58:38 +01:00
committed by GitHub
parent e990ae4800
commit 13d9f8f3f7
142 changed files with 2262 additions and 64727 deletions

View File

@@ -69,6 +69,7 @@ class TimesheetController extends AbstractController
'showFilter' => $form->isSubmitted(),
'toolbarForm' => $form->createView(),
'showSummary' => $this->getUser()->getPreferenceValue('timesheet.daily_stats', false),
'duration_only' => $this->configuration->isDurationOnly(),
]);
}
@@ -124,7 +125,10 @@ class TimesheetController extends AbstractController
return $this->render(
'navbar/active-entries.html.twig',
['entries' => $activeEntries]
[
'entries' => $activeEntries,
'soft_limit' => $this->getSoftLimit(),
]
);
}