Release 2.31 (#5372)
* 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
This commit is contained in:
@@ -250,7 +250,7 @@
|
||||
{% if (route is not empty and entries is not null) or multi_update_form is not null %}
|
||||
<div class="card-footer d-flex align-items-center">
|
||||
{% if multi_update_form is not null %}
|
||||
{{ form_start(multi_update_form, {'attr': {'class': 'multi_update_form', 'style': 'display:none', 'data-question': 'update_multiple'|trans}}) }}
|
||||
{{ form_start(multi_update_form, {'attr': {'class': 'multi_update_form', 'style': 'display:none', 'data-question': '%action%'}}) }}
|
||||
{% for formChild in multi_update_form.children %}
|
||||
{{ form_widget(formChild) }}
|
||||
{% endfor %}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<div class="card-body">
|
||||
<div class="d-flex justify-content-between mb-2">
|
||||
<h4 class="card-title">
|
||||
{{ role.getName()|trans }}
|
||||
<span ondblclick="navigator.clipboard.writeText('{{ role.getName() }}');" title="{{ role.getName() }}">{{ role.getName()|trans }}</span>
|
||||
{% if canEditPermissions and (role.name not in system_roles) %}
|
||||
|
||||
<a href="{{ path('admin_user_role_delete', {'role': role.id, 'csrfToken': token}) }}" class="confirmation-link" data-question="confirm.delete">{{ icon('trash') }}</a>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% macro project(project, view, isTable) %}
|
||||
{% macro project(project, view, isTable, params) %}
|
||||
{% import "macros/widgets.html.twig" as widgets %}
|
||||
{% set event = actions(app.user, 'project', view, {'project': project, 'token': csrf_token('project.duplicate')}) %}
|
||||
{% 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 %}
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
{{ progress.progressbar_budget(entry, currency) }}
|
||||
{% endif %}
|
||||
{% elseif name == 'actions' %}
|
||||
{{ projectActions.project(project, 'custom') }}
|
||||
{{ projectActions.project(project, 'custom', true, {'daterange': date_range(queryBegin, queryEnd)}) }}
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endfor %}
|
||||
@@ -3,7 +3,7 @@
|
||||
{% block main %}
|
||||
{% set formEditTemplate = 'default/_form.html.twig' %}
|
||||
{% set formOptions = {
|
||||
'title': 'update_multiple'|trans({'%action%': 'edit'|trans, '%count%': dto.entities|length}),
|
||||
'title': 'edit'|trans,
|
||||
'form': form,
|
||||
'back': path(back),
|
||||
} %}
|
||||
|
||||
Reference in New Issue
Block a user