Version 2.0.1 (#3853)

* configure email validation mode to fix deprecation message
* allow to use non brand icon in saml provider
* new method getCalculatedDuration()
* getRawData() by id
* only stop entries if new one is running
* fix validator tampering with timesheet duration
* fix allow setting null as customer
* bump packages
This commit is contained in:
Kevin Papst
2023-02-18 14:19:16 +01:00
committed by GitHub
parent 75aea7c51b
commit e474087257
20 changed files with 253 additions and 363 deletions

View File

@@ -58,7 +58,11 @@
<a href="{{ path('saml_login') }}" id="social-login-button" tabindex="50" class="btn btn-white w-50">
{% set provider = saml_config.getProvider() %}
{% if provider is not null %}
<i class="icon fab fa-{{ provider}} text-{{ provider }}"></i>
{% if 'fa-' in provider %}
<i class="icon {{ provider }} text-{{ provider|replace({'fas ': '', 'far ': '', 'fab ': ''}) }}"></i>
{% else %}
<i class="icon fab fa-{{ provider }} text-{{ provider }}"></i>
{% endif %}
{% endif %}
{{ saml_config.getTitle()|trans }}
</a>