Add date attribute to the list row

Used to be there previously (at least at 4.7.8). Used in my automation.
Similar to other views: https://github.com/firefly-iii/firefly-iii/search?q=data-date&unscoped_q=data-date
This commit is contained in:
HamuZ HamuZ 2019-08-23 16:32:42 +03:00 committed by GitHub
parent 682ad4c5aa
commit 2c0ad7047d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ TODO: hide and show columns
{% if group.transactions|length == loop.index and group.count > 1 %}
{% set style="border-bottom:1px #aaa solid;" %}
{% endif %}
<tr>
<tr data-date="{{ transaction.date.format('Y-m-d') }}">
<td style=" {{ style|raw }}">
{% if transaction.transaction_type_type == 'Withdrawal' %}
<i class="fa fa-long-arrow-left fa-fw" title="{{ trans('firefly.Withdrawal') }}"></i>