Release 2.0.34 (#4281)
This commit is contained in:
@@ -10,7 +10,10 @@
|
||||
{% embed '@theme/embeds/card.html.twig' %}
|
||||
{% block box_body %}
|
||||
{{ form_start(form) }}
|
||||
{{ form_widget(form) }}
|
||||
{% if form.user is defined %}
|
||||
{{ form_row(form.user) }}
|
||||
{% endif %}
|
||||
{{ form_rest(form) }}
|
||||
{{ form_end(form) }}
|
||||
{% endblock %}
|
||||
{% endembed %}
|
||||
@@ -132,7 +135,7 @@
|
||||
{
|
||||
id: 'kimaiUserTimeSource',
|
||||
type: 'timesheet',
|
||||
url: '{{ path('get_timesheets') }}?user={{ user.id }}&size=1000&full=true&begin={from}&end={to}',
|
||||
url: '{{ path('get_timesheets', {'user': user.id, 'size': 1000, 'full': 'true', 'begin': '__FROM__', 'end': '__TO__'})|raw }}',
|
||||
options: {
|
||||
color: '{{ config('theme.calendar.background_color') }}',
|
||||
},
|
||||
@@ -157,7 +160,7 @@
|
||||
{
|
||||
id: '{{ source.id }}{{ loop.index }}',
|
||||
type: '{{ source.typeName }}',
|
||||
url: '{{ source.uri }}',
|
||||
url: '{{ source.uri|raw }}',
|
||||
options: {...{{ source.options|json_encode|raw }}, ...{
|
||||
color: '{{ source.color }}',
|
||||
textColor: '{{ source.color|font_contrast }}',
|
||||
|
||||
Reference in New Issue
Block a user