Added timesheet-calendar view (#236)
This commit is contained in:
@@ -39,14 +39,32 @@ kimai:
|
||||
# Language specific settings, like the date formats
|
||||
languages:
|
||||
de:
|
||||
date_short: "d.m.Y"
|
||||
date_short: 'd.m.Y'
|
||||
en:
|
||||
date_short: "Y-m-d"
|
||||
date_short: 'Y-m-d'
|
||||
ru:
|
||||
date_short: "d.m.Y"
|
||||
date_short: 'd.m.Y'
|
||||
|
||||
# timesheet calendar configuration
|
||||
calendar:
|
||||
week_numbers: true
|
||||
day_limit: 4
|
||||
businessHours:
|
||||
days: [1, 2, 3, 4, 5]
|
||||
begin: '08:00'
|
||||
end: '20:00'
|
||||
|
||||
# You can configure unlimited google calendars to display events for your company (e.g. holidays)
|
||||
# Please read var/docs/configurations.md to find out more about calendar integration
|
||||
# google:
|
||||
# api_key: 'your-restricted-google-api-key'
|
||||
# sources:
|
||||
# holidays:
|
||||
# id: 'de.german#holiday@group.v.calendar.google.com'
|
||||
# color: '#ccc'
|
||||
|
||||
twig:
|
||||
globals:
|
||||
kimai_context:
|
||||
box_color: "green" # a color for ???
|
||||
box_color: "green" # a color for: TODO ??? find out ???
|
||||
active_warning: 3 # display a warning color if the user has at least X active recordings
|
||||
|
||||
@@ -36,13 +36,16 @@ services:
|
||||
class: App\Invoice\ServiceInvoice
|
||||
arguments: ['%kimai.invoice%']
|
||||
|
||||
# a route listener, that injects the default locale into the route
|
||||
App\EventSubscriber\RedirectToLocaleSubscriber:
|
||||
class: App\EventSubscriber\RedirectToLocaleSubscriber
|
||||
arguments: ['@router', '%app_locales%', '%locale%']
|
||||
tags:
|
||||
- { name: kernel.event_listener, event: kernel.request, method: onKernelRequest }
|
||||
|
||||
App\Calendar\Service:
|
||||
arguments:
|
||||
$config: "%kimai.calendar%"
|
||||
|
||||
# ================================================================================
|
||||
# DATABASE
|
||||
# ================================================================================
|
||||
|
||||
Reference in New Issue
Block a user