Bugfixes for Kimai 1.4.1 (#1158)

* fix missing translation for preset datatable headers
* better dependency check for avatar service
* show only own teams to teamleads
This commit is contained in:
Kevin Papst
2019-10-07 16:04:19 +02:00
committed by GitHub
parent 32aa209b75
commit ae6ed3f23f
5 changed files with 38 additions and 6 deletions

View File

@@ -13,9 +13,10 @@
{% if not headerOptions is iterable %}
{% set headerOptions = {'class': headerOptions} %}
{% endif %}
{% set headerTitle = ('label.' ~ title)|trans %}
{% if headerOptions.title is defined %}
{% set headerTitle = headerOptions.title %}
{% else %}
{% set headerTitle = ('label.' ~ title)|trans %}
{% endif %}
{% if 'alwaysVisible' not in headerOptions.class %}
<div class="form-group">