firefly-iii/resources/views/list/journals-tiny.twig
2016-03-07 21:39:50 +01:00

25 lines
594 B
Twig

<div class="list-group">
{% for journal in transactions %}
<a class="list-group-item" title="{{ journal.date.formatLocalized(trans('config.month_and_day')) }}"
{% if journal.isOpeningBalance() %}
href="#"
{% else %}
href="{{ route('transactions.show',journal.id) }}"
{% endif %}
>
{{ journal|typeIcon }}
{{ journal.description }}
<span class="pull-right small">
{{ journal|formatJournal }}
</span>
</a>
{% endfor %}
</div>