mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-04-19 11:39:48 +00:00

* simplify translation * bump version * deprecate translations * pass date-range as argument to export and timesheet filter URL from monthly overview report * added class for use in responsive screens * show technical role name * simplify multi-update title * more statistic models * bump composer packages
9 lines
473 B
Twig
9 lines
473 B
Twig
{% macro project(project, view, isTable, params) %}
|
|
{% import "macros/widgets.html.twig" as widgets %}
|
|
{% set event = actions(app.user, 'project', view, params|default({})|merge({'project': project, 'token': csrf_token('project.duplicate')})) %}
|
|
{% if view == 'index' or view == 'custom' or isTable is not null %}
|
|
{{ widgets.table_actions(event.actions) }}
|
|
{% else %}
|
|
{{ widgets.page_actions(event.actions) }}
|
|
{% endif %}
|
|
{% endmacro %}
|