0
0
mirror of https://github.com/kevinpapst/kimai2.git synced 2024-12-22 12:18:29 +00:00
kevinpapst_kimai2/templates/reporting/index.html.twig
Kevin Papst 0cbf0053d2
Release 2.0.5 (#3888)
- 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)
2023-03-05 03:08:43 +01:00

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 %}