Skip to content

Firefly III: a personal finances manager

Info in tags for #159

James Cole9a8efc8a5809
diff --git a/public/css/firefly.css b/public/css/firefly.css
index 4ce8b95c80..bd6c9d6309 100644
--- a/public/css/firefly.css
+++ b/public/css/firefly.css
@@ -38,5 +38,6 @@
/* cursors */
.rule-triggers {cursor:move;}
.rule-actions {cursor:move;}
+.firefly-info-button {cursor:pointer;}
#testTriggerModal .modal-body { max-height: 500px; overflow-y: scroll; }
diff --git a/resources/views/reports/partials/budgets.twig b/resources/views/reports/partials/budgets.twig
index 5a886d3e04..c63a0a2766 100644
--- a/resources/views/reports/partials/budgets.twig
+++ b/resources/views/reports/partials/budgets.twig
@@ -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 %}
diff --git a/resources/views/reports/partials/categories.twig b/resources/views/reports/partials/categories.twig
index 3aadf8ab07..0a2426168d 100644
--- a/resources/views/reports/partials/categories.twig
+++ b/resources/views/reports/partials/categories.twig
@@ -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>
diff --git a/resources/views/reports/partials/expenses.twig b/resources/views/reports/partials/expenses.twig
index 329ba056f8..34173d3339 100644
--- a/resources/views/reports/partials/expenses.twig
+++ b/resources/views/reports/partials/expenses.twig
@@ -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>
diff --git a/resources/views/reports/partials/income.twig b/resources/views/reports/partials/income.twig
index b9da1866e7..fd00162377 100644
--- a/resources/views/reports/partials/income.twig
+++ b/resources/views/reports/partials/income.twig
@@ -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 %}