Info in tags for #159

This commit is contained in:
James Cole
2016-03-22 16:59:29 +01:00
parent f0f67b87c4
commit 9a8efc8a58
5 changed files with 5 additions and 4 deletions

View File

@@ -40,7 +40,7 @@
<td>
{% if budgetLine.getSpent != 0 %}
{{ 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"
data-location="budget-spent-amount" data-budget-id="{{ budgetLine.getBudget.id }}"
></i>
{% endif %}

View File

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

View File

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

View File

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