diff --git a/src/Constants.php b/src/Constants.php index 7854dcae..7dac8bdf 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -17,11 +17,11 @@ class Constants /** * The current release version */ - public const VERSION = '1.20.1'; + public const VERSION = '1.20.2'; /** * The current release: major * 10000 + minor * 100 + patch */ - public const VERSION_ID = 12001; + public const VERSION_ID = 12002; /** * The current release status, either "stable" or "dev" */ diff --git a/templates/calendar/user.html.twig b/templates/calendar/user.html.twig index c4c6fc62..e3306e08 100644 --- a/templates/calendar/user.html.twig +++ b/templates/calendar/user.html.twig @@ -10,8 +10,8 @@ {% block main %}
- {% set hasDragAndDrop = (config.dragDropAmount > 0 and dragAndDrop is not empty and (dragAndDrop|filter(s => s.entries|length > 0)|length > 0)) %} - {% if hasDragAndDrop or form is not null %} + {% set hasTwoColumns = (config.dragDropAmount > 0 and dragAndDrop is not empty and (dragAndDrop|filter(s => s.entries|length > 0)|length > 0)) or form is not null %} + {% if hasTwoColumns %} {% endif %} -
+
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %} {% block box_body_class %}no-padding{% endblock %} {% block box_body %} diff --git a/templates/invoice/index.html.twig b/templates/invoice/index.html.twig index 39e3f31f..4aa000e3 100644 --- a/templates/invoice/index.html.twig +++ b/templates/invoice/index.html.twig @@ -35,26 +35,26 @@ {% block box_body %} {{ form_errors(form) }} {% if form.searchTerm is defined %} - {{ form_row(form.searchTerm) }} + {{ form_row(form.searchTerm, {'row_attr': {'class': 'invoice_search_form_row_searchTerm'}}) }} {% endif %} - {{ form_row(form.daterange) }} - {{ form_row(form.customers) }} - {{ form_row(form.projects) }} + {{ form_row(form.daterange, {'row_attr': {'class': 'invoice_search_form_row_daterange'}}) }} + {{ form_row(form.customers, {'row_attr': {'class': 'invoice_search_form_row_customers'}}) }} + {{ form_row(form.projects, {'row_attr': {'class': 'invoice_search_form_row_projects'}}) }} {% if form.activities is defined %} - {{ form_row(form.activities) }} + {{ form_row(form.activities, {'row_attr': {'class': 'invoice_search_form_row_activities'}}) }} {% endif %} {% if form.tags is defined %} - {{ form_row(form.tags) }} + {{ form_row(form.tags, {'row_attr': {'class': 'invoice_search_form_row_tags'}}) }} {% endif %} {% if form.users is defined %} - {{ form_row(form.users) }} + {{ form_row(form.users, {'row_attr': {'class': 'invoice_search_form_row_users'}}) }} {% endif %} {% if form.exported is defined %} - {{ form_row(form.exported) }} + {{ form_row(form.exported, {'row_attr': {'class': 'invoice_search_form_row_exported'}}) }} {% endif %} - {{ form_row(form.template) }} + {{ form_row(form.template, {'row_attr': {'class': 'invoice_search_form_row_template'}}) }} {% if form.markAsExported is defined %} - {{ form_row(form.markAsExported) }} + {{ form_row(form.markAsExported, {'row_attr': {'class': 'invoice_search_form_row_markAsExported'}}) }} {% endif %} {% endblock %} {% block box_footer%}