Files
kimai2/templates/reporting/index.html.twig
Kevin Papst 3f09a2674b Release 2.0.4 (#3883)
* fix column data truncated
* calculate internal rate from user
* show internal rate in timesheet listing
* Fixed: responsivenss and size of report start page icons
* fix: name display in dropdowns (and added tests)
* translate reload button
* fix invoice date might be in the past
* fail safe customer name handling
* translate invoice_date and invoice_date help
* prevent URLs like start=null
* prevent to reload select twice
2023-03-02 14:04:06 +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({}, 'reporting') }}</div>
</div>
</div>
</a>
</div>
{% endfor %}
</div>
{% endblock %}