Fix bulk editor.

This commit is contained in:
James Cole 2018-06-30 05:54:23 +02:00
parent c9356c1237
commit b8893bcad7
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 3 additions and 21 deletions

View File

@ -40,18 +40,8 @@
{{ journal.description }}</a></td>
<td>{{ journal|journalTotalAmount }}</td>
<td>{{ journal.date.formatLocalized(monthAndDayFormat) }}</td>
<td>
{% set cat = journal.categories.first %}
{% if cat %}
<a href="{{ route('categories.show', [cat.id]) }}">{{ cat.name }}</a>
{% endif %}
</td>
<td>
{% set bud = journal.budgets.first %}
{% if bud %}
<a href="{{ route('budgets.show', [bud.id]) }}">{{ bud.name }}</a>
{% endif %}
</td>
<td>{{ journalCategories(journal)|raw }}</td>
<td>{{ journalBudgets(journal)|raw }}</td>
<td>
{% for tag in journal.tags %}
<a class="label label-success" href="{{ route('tags.show', [tag.id]) }}">

View File

@ -238,15 +238,7 @@
{% for tag in journal.tags %}
<h4 style="display: inline;"><a class="label label-success" href="{{ route('tags.show',tag) }}">
{% if tag.tagMode == 'nothing' %}
<i class="fa fa-fw fa-tag"></i>
{% endif %}
{% if tag.tagMode == 'balancingAct' %}
<i class="fa fa-fw fa-refresh"></i>
{% endif %}
{% if tag.tagMode == 'advancePayment' %}
<i class="fa fa-fw fa-sort-numeric-desc"></i>
{% endif %}
<i class="fa fa-fw fa-tag"></i>
{{ tag.tag }}</a>
</h4>
{% endfor %}