mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Show tags in transaction.
This commit is contained in:
parent
a1cabcbed3
commit
be96a4fce5
@ -39,7 +39,28 @@
|
||||
<td><a href="{{route('categories.show',$category->id)}}">{{{$category->name}}}</a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@if($journal->tags()->count() > 0)
|
||||
<tr>
|
||||
<td>Tags</td>
|
||||
<td>
|
||||
@foreach($journal->tags as $tag)
|
||||
|
||||
<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
|
||||
{{$tag->tag}}</a>
|
||||
</h4>
|
||||
@endforeach
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</table>
|
||||
</div>
|
||||
<!-- events, if present -->
|
||||
|
Loading…
Reference in New Issue
Block a user