More alignment for #511

This commit is contained in:
James Cole
2017-01-02 21:04:17 +01:00
parent ad116d1959
commit b91f6c7ce6
14 changed files with 116 additions and 104 deletions

View File

@@ -4,9 +4,9 @@
<tr>
<th colspan="2">{{ 'budgets'|_ }}</th>
{% for account in balance.getBalanceHeader.getAccounts %}
<th class="hidden-xs"><a href="{{ route('accounts.show',account.id) }}">{{ account.name }}</a></th>
<th class="hidden-xs" style="text-align: right;"><a href="{{ route('accounts.show',account.id) }}">{{ account.name }}</a></th>
{% endfor %}
<th>
<th style="text-align: right;">
{{ 'leftInBudget'|_ }}
</th>
</tr>
@@ -28,7 +28,7 @@
</span>
{% endif %}
</td>
<td>
<td style="text-align: right;">
{% if(balanceLine.getBudget.amount) %}
{{ balanceLine.getBudget.amount|formatAmount }}
{% else %}
@@ -40,7 +40,7 @@
{% endif %}
{% for balanceEntry in balanceLine.getBalanceEntries %}
<td class="hidden-xs">
<td class="hidden-xs" style="text-align: right;">
{% if balanceEntry.getSpent != 0 %}
<span class="text-danger">{{ (balanceEntry.getSpent)|formatAmountPlain }}</span>
<i class="fa fa-fw text-muted fa-info-circle firefly-info-button" data-location="balance-amount"
@@ -49,11 +49,11 @@
{% endif %}
{% if balanceEntry.getLeft != 0 %}
<span class="text-success">{{ (balanceEntry.getLeft)|formatAmountPlain }}</span>
<span class="text-success" style="text-align: right;">{{ (balanceEntry.getLeft)|formatAmountPlain }}</span>
{% endif %}
</td>
{% endfor %}
<td>
<td style="text-align: right;">
{{ balanceLine.leftOfRepetition|formatAmount }}
</td>
</tr>