mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Add edit button for notes https://github.com/firefly-iii/firefly-iii/issues/5523
This commit is contained in:
@@ -212,6 +212,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{# START OF BUDGET ROW #}
|
||||
{% for budget in budgets %}
|
||||
<tr data-id="{{ budget.id }}">
|
||||
<td class="hidden-sm hidden-xs">
|
||||
@@ -269,7 +270,6 @@
|
||||
{% if not budgetLimit.in_range %}
|
||||
<small class="text-muted">
|
||||
{{ trans('firefly.budget_limit_not_in_range', {start: budgetLimit.start_date, end: budgetLimit.end_date}) }}
|
||||
|
||||
</small><br>
|
||||
{% endif %}
|
||||
<div class="input-group bl_entry" data-budget-limit-id="{{ budgetLimit.id }}">
|
||||
@@ -285,7 +285,13 @@
|
||||
<li>
|
||||
<a class="delete_bl" href="#" data-budget-limit-id="{{ budgetLimit.id }}">{{ trans('firefly.remove_budgeted_amount', {currency: budgetLimit.currency_name }) }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="edit_bl" href="#" data-id="{{ budgetLimit.id }}">{{ trans('firefly.edit_bl_notes') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% if '' != budgetLimit.notes %}
|
||||
<a href="#" class="btn btn-default show_bl" data-id="{{ budgetLimit.id }}"><em title="{{ 'view_notes'|_ }}" class="fa fa-commenting-o" aria-hidden="true"></em></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<span class="text-danger budget_warning" data-id="{{ budget.id }}" data-budgetLimit="{{ budgetLimit.id }}"
|
||||
@@ -368,6 +374,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{# END OF BUDGET ROW #}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@@ -444,6 +451,8 @@
|
||||
var createBudgetLimitUrl = "{{ route('budget-limits.create', ['REPLACEME', start.format('Y-m-d'), end.format('Y-m-d')]) }}";
|
||||
var storeBudgetLimitUrl = "{{ route('budget-limits.store') }}";
|
||||
var updateBudgetLimitUrl = "{{ route('budget-limits.update', ['REPLACEME']) }}";
|
||||
var showBudgetLimitUrl = "{{ route('budget-limits.show', ['REPLACEME']) }}";
|
||||
var editBudgetLimitUrl = "{{ route('budget-limits.edit', ['REPLACEME']) }}";
|
||||
var deleteBudgetLimitUrl = "{{ route('budget-limits.delete', ['REPLACEME']) }}";
|
||||
var totalBudgetedUrl = "{{ route('json.budget.total-budgeted', ['REPLACEME', start.format('Y-m-d'), end.format('Y-m-d')]) }}";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user