mirror of
https://github.com/kevinpapst/kimai2.git
synced 2024-12-22 12:18:29 +00:00
0cbf0053d2
- Fixed: mandatory fields / form validation for invoice template - Added: Duration as calendar title replacer (open: running records) - Fixed: HTML injection in Calendar - Fixed: Doctrine Proxies are not initialized (leads to empty customer/project) - Fixed: tag creation - Fixed: validation errors do not need to be logged in prod - Removed: Customer VCard download, as used library is outdated and not maintained - Added: supporting translations domains in many new places (menu, help_text, page_setup, report, exporter, calendar)
29 lines
1.0 KiB
Twig
29 lines
1.0 KiB
Twig
{% extends 'base.html.twig' %}
|
|
{% import "macros/widgets.html.twig" as widgets %}
|
|
|
|
{% block page_actions %}
|
|
{% set event = actions(app.user, 'reporting', 'report') %}
|
|
{{ widgets.page_actions(event.actions) }}
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
<div class="row row-deck row-cards">
|
|
|
|
{% for report in reports %}
|
|
<div class="col-md-6 col-lg-4 col-xxl-3">
|
|
<a class="card card-link" href="{{ path(report.route) }}">
|
|
<div class="card-body d-flex align-items-center">
|
|
<div class="row">
|
|
<div class="col-auto">
|
|
<span class="avatar"><i class="icon {{ report.reportIcon|icon(false, report.reportIcon) }}" style="color: {{ null|colorize(report.reportIcon) }}"></i></span>
|
|
</div>
|
|
<div class="col p-2">{{ report.label|trans({}, report.translationDomain) }}</div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
</div>
|
|
{% endblock %}
|