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

@@ -38,5 +38,6 @@
/* cursors */ /* cursors */
.rule-triggers {cursor:move;} .rule-triggers {cursor:move;}
.rule-actions {cursor:move;} .rule-actions {cursor:move;}
.firefly-info-button {cursor:pointer;}
#testTriggerModal .modal-body { max-height: 500px; overflow-y: scroll; } #testTriggerModal .modal-body { max-height: 500px; overflow-y: scroll; }

View File

@@ -40,7 +40,7 @@
<td> <td>
{% if budgetLine.getSpent != 0 %} {% if budgetLine.getSpent != 0 %}
{{ budgetLine.getSpent|formatAmount }} <i class="fa fa-fw text-muted fa-info-circle firefly-info-button" {{ 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> ></i>
{% endif %} {% endif %}

View File

@@ -19,7 +19,7 @@
<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 firefly-info-button" <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> ></i>
</td> </td>
</tr> </tr>

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 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> </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 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> </small>
{% endif %} {% endif %}