Skip to content

Firefly III: a personal finances manager

Add icon to list.

James Cole0cd3068942e0
diff --git a/resources/views/components/lists/groups-tiny.blade.php b/resources/views/components/lists/groups-tiny.blade.php
index c1a13f5f06..af81405259 100644
--- a/resources/views/components/lists/groups-tiny.blade.php
+++ b/resources/views/components/lists/groups-tiny.blade.php
@@ -1,14 +1,31 @@
-<div class="list-group">
+<table class="table">
@foreach($transactions as $transaction)
+<tr>
+ <td style="width:10%;">
+ <x-elements.transaction-type-icon :type="$transaction['transaction_type_type']" />
+ </td>
+ <td>
+ <a class="" href="{{ route('transactions.show', [$transaction['transaction_group_id']]) }}">
+ @if('' !== (string) $transaction['transaction_group_title'])
+ {{ $transaction['transaction_group_title'] }}:
+ @endif
+ {{ $transaction['description'] }}
+ </a>
+ </td>
+ <td class="text-end" style="width:30%;">
+ <span class="small">
+ <x-generic.amount :transaction="$transaction" />
+ </span>
+ </td>
+</tr>
+ @endforeach
+
+
+
+ <span>
+
+
- <a class="list-group-item list-group-item-action d-flex justify-content-between align-items-center" href="{{ route('transactions.show', [$transaction['transaction_group_id']]) }}">
- @if('' !== (string) $transaction['transaction_group_title'])
- {{ $transaction['transaction_group_title'] }}:
- @endif
- {{ $transaction['description'] }}
- <span class="small">
- <x-generic.amount :transaction="$transaction" />
- </span>
</a>
- @endforeach
</div>
+</table>