added config to brand Kimai with logo and company name (#856)

This commit is contained in:
Kevin Papst
2019-06-13 19:06:02 +02:00
committed by GitHub
parent 3311f17bbb
commit 92f3f4ee57
4 changed files with 37 additions and 4 deletions

View File

@@ -1 +1,7 @@
{{- get_title('<b>', '</b><br>')|raw -}}
{% if not kimai_context.branding.logo is empty %}
<img src="{{ kimai_context.branding.logo }}" style="max-width: 300px;">
{% elseif not kimai_context.branding.company is empty %}
<b>{{ kimai_context.branding.company|raw }}</b>
{% else %}
{{- get_title('<b>', '</b><br>')|raw -}}
{% endif %}