added project detail report (#2651)

- avatars via css only
- random colors for entities
- improves print view
- added colors for teams
- added color to tag
This commit is contained in:
Kevin Papst
2021-07-06 22:01:20 +02:00
committed by GitHub
parent cc6031bfde
commit 9ddb87a6fd
122 changed files with 2736 additions and 1549 deletions

View File

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