added config to brand Kimai with logo and company name (#856)
This commit is contained in:
@@ -42,11 +42,19 @@
|
||||
{% block page_subtitle %}{% endblock %}
|
||||
|
||||
{% block logo_mini %}
|
||||
<b>K</b>TT
|
||||
{% if not kimai_context.branding.mini is empty %}
|
||||
{{ kimai_context.branding.mini|raw }}
|
||||
{% else %}
|
||||
<b>K</b>TT
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block logo_large %}
|
||||
<b>Kimai</b> - Time Tracking
|
||||
{% if not kimai_context.branding.company is empty %}
|
||||
{{ kimai_context.branding.company|raw }}
|
||||
{% else %}
|
||||
<b>Kimai</b> - Time Tracking
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block footer %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user