Edit index to match transformer.

This commit is contained in:
James Cole 2019-08-26 07:12:32 +02:00
parent 5e0d9bddba
commit 8978904fdd

View File

@ -55,8 +55,8 @@
</td> </td>
<td data-value="{{ rt.title }}"> <td data-value="{{ rt.title }}">
{% if rt.active == false %}<s>{% endif %} {% if rt.active == false %}<s>{% endif %}
{{ rt.transaction_type|_ }}: {{ rt.type|_ }}:
<a href="{{ route('recurring.show',rt.id) }}">{{ rt.title }}</a> <a href="{{ route('recurring.show',rt.id) }}">{{ rt.title }}</a>
{% if rt.active == false %}</s> ({{ 'inactive'|_|lower }}){% endif %} {% if rt.active == false %}</s> ({{ 'inactive'|_|lower }}){% endif %}
{% if rt.description|length > 0 %} {% if rt.description|length > 0 %}
<small><br>{{ rt.description }}</small> <small><br>{{ rt.description }}</small>
@ -84,7 +84,7 @@
</td> </td>
<td> <td>
<ul> <ul>
{% for rep in rt.recurrence_repetitions %} {% for rep in rt.repetitions %}
<li>{{ rep.description }} <li>{{ rep.description }}
{% if rep.repetition_skip == 1 %} {% if rep.repetition_skip == 1 %}
({{ trans('firefly.recurring_skips_one')|lower }}). ({{ trans('firefly.recurring_skips_one')|lower }}).
@ -111,8 +111,8 @@
{% if null != rt.repeat_until and rt.repetitions == 0 %} {% if null != rt.repeat_until and rt.repetitions == 0 %}
{{ trans('firefly.recurring_repeats_until', {date: rt.repeat_until.formatLocalized(monthAndDayFormat)}) }}. {{ trans('firefly.recurring_repeats_until', {date: rt.repeat_until.formatLocalized(monthAndDayFormat)}) }}.
{% endif %} {% endif %}
{% if null == rt.repeat_until and rt.repetitions != 0 %} {% if null == rt.repeat_until and rt.nr_of_repetitions != 0 %}
{{ trans('firefly.recurring_repeats_x_times', {count: rt.repetitions}) }}. {{ trans('firefly.recurring_repeats_x_times', {count: rt.nr_of_repetitions}) }}.
{% endif %} {% endif %}
</p> </p>