mirror of
https://github.com/kevinpapst/kimai2.git
synced 2024-12-22 12:18:29 +00:00
8449eafcb6
* support parsing negative durations in JS * bump luxon dependency * make sure that 2FA is not required for session based API calls * show name of items to delete * fix permission issue for recent activity items
16 lines
598 B
Twig
16 lines
598 B
Twig
{% extends kimai_context.modalRequest ? 'form.html.twig' : 'base.html.twig' %}
|
|
|
|
{% block main %}
|
|
{% set params = {
|
|
'%records%': stats.counter,
|
|
'%duration%': stats.duration|duration
|
|
} %}
|
|
{{ include(kimai_context.modalRequest ? 'default/_form_delete_modal.html.twig' : 'default/_form_delete.html.twig', {
|
|
'message': ("delete_warning.short_stats"|trans(params) ~ "admin_entity.delete_confirm"|trans),
|
|
'form': form,
|
|
'delete_item_name': project.name,
|
|
'used': (stats.counter > 0),
|
|
'back': path('admin_project')
|
|
}) }}
|
|
{% endblock %}
|