Skip to content

Firefly III: a personal finances manager

Fix #6564

James Cole83b8fdba05b3
diff --git a/resources/views/list/groups.twig b/resources/views/list/groups.twig
index d20f3288a2..bf74139cf7 100644
--- a/resources/views/list/groups.twig
+++ b/resources/views/list/groups.twig
@@ -56,7 +56,7 @@
title="{{ group.title }}">{{ group.title }}</a>
</strong></small>
</td>
- <td colspan="2" style="border-top:1px #aaa solid;">
+ <td colspan="1" style="text-align:right;border-top:1px #aaa solid;">
{% for sum in group.sums %}
{% if group.transaction_type == 'Deposit' %}
{{ formatAmountBySymbol(sum.amount*-1, sum.currency_symbol, sum.currency_decimal_places) }}{% if loop.index != group.sums|length %},{% endif %}
@@ -75,7 +75,7 @@
{% else %}
<td style="border-top:1px #aaa solid;" colspan="2">&nbsp;</td>
{% endif %}
- <td style="border-top:1px #aaa solid;" class="hidden-xs">
+ <td style="border-top:1px #aaa solid;" colspan="2" class="hidden-xs">
<div class="btn-group btn-group-xs pull-right">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
@@ -94,9 +94,9 @@
</tr>
{% endif %}
{% for index, transaction in group.transactions %}
- {% set style="" %}
+ {% set style="text-align:right;" %}
{% if group.transactions|length == loop.index and group.count > 1 %}
- {% set style="border-bottom:1px #aaa solid;" %}
+ {% set style="text-align:right;border-bottom:1px #aaa solid;" %}
{% endif %}
<tr data-date="{{ transaction.date.format('Y-m-d') }}" data-count="{{ group.count }}" data-id="{{ group.id }}">
<td style=" {{ style|raw }}" class="hidden-xs">