allow markdown in timesheet descriptions (#296)
This commit is contained in:
@@ -8,6 +8,9 @@ kimai:
|
||||
# All configs related to timesheet and record management
|
||||
timesheet:
|
||||
|
||||
# render timesheet descriptions with markdown
|
||||
markdown_content: false
|
||||
|
||||
# Whether we display start and end time columns (false) or durations only (true).
|
||||
# Setting this to true will also change the "edit timesheet" forms, more infos available in the configurations docu.
|
||||
duration_only: false
|
||||
|
||||
@@ -54,6 +54,10 @@ services:
|
||||
arguments:
|
||||
$dashboard: "%kimai.dashboard%"
|
||||
|
||||
App\Twig\MarkdownExtension:
|
||||
arguments:
|
||||
$timesheetAsMarkdown: "%kimai.timesheet.markdown%"
|
||||
|
||||
# ================================================================================
|
||||
# DATABASE
|
||||
# ================================================================================
|
||||
|
||||
Reference in New Issue
Block a user