Give all icons some context, no value yet.

This commit is contained in:
James Cole
2016-03-22 16:55:04 +01:00
parent efff44cba9
commit 1a3ec98896
5 changed files with 10 additions and 5 deletions

View File

@@ -41,7 +41,8 @@
<td> <td>
{% if balanceEntry.getSpent != 0 %} {% if balanceEntry.getSpent != 0 %}
<span class="text-danger">{{ (balanceEntry.getSpent)|formatAmountPlain }}</span> <span class="text-danger">{{ (balanceEntry.getSpent)|formatAmountPlain }}</span>
<i class="fa fa-fw text-muted fa-info-circle"></i> <i class="fa fa-fw text-muted fa-info-circle firefly-info-button" data-location="balance-amount" data-account-id="x"
data-budget-id="y"></i>
{% endif %} {% endif %}
{% if balanceEntry.getLeft != 0 %} {% if balanceEntry.getLeft != 0 %}
<span class="text-success">{{ (balanceEntry.getLeft)|formatAmountPlain }}</span> <span class="text-success">{{ (balanceEntry.getLeft)|formatAmountPlain }}</span>

View File

@@ -39,7 +39,9 @@
</td> </td>
<td> <td>
{% if budgetLine.getSpent != 0 %} {% if budgetLine.getSpent != 0 %}
{{ budgetLine.getSpent|formatAmount }} <i class="fa fa-fw text-muted fa-info-circle"></i> {{ budgetLine.getSpent|formatAmount }} <i class="fa fa-fw text-muted fa-info-circle firefly-info-button"
data-location="budget-spent-amount" data-budget-id="x"
></i>
{% endif %} {% endif %}
{% if budgetLine.getSpent == 0 %} {% if budgetLine.getSpent == 0 %}

View File

@@ -18,7 +18,9 @@
</td> </td>
<td>{{ cat.spent|formatAmount }}</td> <td>{{ cat.spent|formatAmount }}</td>
<td style="width:20px;"> <td style="width:20px;">
<i class="fa fa-fw fa-info-circle text-muted"></i> <i class="fa fa-fw fa-info-circle text-muted firefly-info-button"
data-location="category-entry" data-category-id="x"
></i>
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}

View File

@@ -17,7 +17,7 @@
<br/> <br/>
<small> <small>
{{ expense.count }} {{ 'transactions'|_|lower }} {{ expense.count }} {{ 'transactions'|_|lower }}
<i class="fa fa-fw text-muted fa-info-circle"></i> <i class="fa fa-fw text-muted fa-info-circle firefly-info-button" data-location="expense-entry" data-account-id="x"></i>
</small> </small>
{% endif %} {% endif %}
</td> </td>

View File

@@ -17,7 +17,7 @@
<br/> <br/>
<small> <small>
{{ income.count }} {{ 'transactions'|_|lower }} {{ income.count }} {{ 'transactions'|_|lower }}
<i class="fa fa-fw text-muted fa-info-circle"></i> <i class="fa fa-fw text-muted fa-info-circle firefly-info-button" data-location="income-entry" data-account-id="x"></i>
</small> </small>
{% endif %} {% endif %}