Release 2.13 (#4659)

This commit is contained in:
Kevin Papst
2024-03-10 15:35:59 +01:00
committed by GitHub
parent a78e8ed8c4
commit dee90bb15e
79 changed files with 1019 additions and 932 deletions

View File

@@ -14,7 +14,7 @@
{% import "project/actions.html.twig" as projectActions %}
{% block box_attributes %}id="activity_details_box"{% endblock %}
{% block box_title %}
{{ widgets.label_name(activity.name, activity.color) }}
{{ widgets.label_dot(activity.name, activity.color) }}
{% endblock %}
{% block box_tools %}
{% if can_edit %}

View File

@@ -8,7 +8,7 @@
{% import "macros/widgets.html.twig" as widgets %}
{% block box_attributes %}id="customer_details_box"{% endblock %}
{% block box_title %}
{{ widgets.label_customer(customer) }}
{{ widgets.label_dot(customer.name, customer.color) }}
{% if customer.company is not empty %} – {{ customer.company }}{% endif %}
{% endblock %}
{% block box_tools %}

View File

@@ -176,7 +176,6 @@
{% set format = locale_format('date')|js_format %}
{% set attr = attr|merge({'data-daterangepicker': 'on', 'autocomplete': 'off', 'data-format': format, 'placeholder': format ~ attr['data-separator'] ~ format}) -%}
<div class="input-group">
{{ block('form_widget_simple') }}
{% if ranges is defined %}
<button type="button" class="input-group-text dropdown-toggle btn-duration-preset" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
<div class="dropdown-menu dropdown-menu-start pre-scrollable">
@@ -185,6 +184,7 @@
{% endfor %}
</div>
{% endif %}
{{ block('form_widget_simple') }}
</div>
{% endblock daterange_widget %}

View File

@@ -1,7 +1,6 @@
{% macro init_frontend_loader() %}
{% set configurations = javascript_configurations(app.user)|merge({
login: path('login'),
locale: app.request.locale,
direction: tabler_bundle.rightToLeft ? 'rtl' : 'ltr',
first_dow_iso: iso_day_by_name(app.user.firstDayOfWeek),
}) %}

View File

@@ -14,7 +14,7 @@
{% endif %}
{% endblock %}
{% block box_title %}
{{ widgets.label_name(project.name, project.color) }}
{{ widgets.label_dot(project.name, project.color) }}
{% endblock %}
{% block box_body_class %}p-0{% endblock %}
{% block box_body %}