Skip to content

Firefly III: a personal finances manager

Expand view.

James Cole36ebd0f0eed8
diff --git a/resources/views/reports/partials/budget-period.twig b/resources/views/reports/partials/budget-period.twig
index c9bb1cbd45..e7774f2461 100644
--- a/resources/views/reports/partials/budget-period.twig
+++ b/resources/views/reports/partials/budget-period.twig
@@ -1,7 +1,7 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'budget'|_ }}</th>
+ <th data-defaultsign="az" colspan="2">{{ 'budget'|_ }}</th>
{% for period in periods %}
<th data-defaultsign="_19">{{ period }}</th>
{% endfor %}
@@ -11,6 +11,9 @@
<tbody>
{% for id, info in report %}
<tr>
+ <td>
+ <a class="btn btn-default btn-xs" href="{{ route('budgets.show', [id]) }}"><i class="fa fa-external-link" aria-hidden="true"></i></a>
+ </td>
<td data-value="{{ info.name }}">
<a title="{{ info.name }}" href="#" data-budget="{{ id }}" class="budget-chart-activate">{{ info.name }}</a>
</td>
diff --git a/resources/views/reports/partials/category-period.twig b/resources/views/reports/partials/category-period.twig
index ca20b994ff..8c489cc4ce 100644
--- a/resources/views/reports/partials/category-period.twig
+++ b/resources/views/reports/partials/category-period.twig
@@ -1,7 +1,7 @@
<table class="table table-hover sortable table-condensed">
<thead>
<tr>
- <th data-defaultsort="disabled">{{ 'category'|_ }}</th>
+ <th data-defaultsort="disabled" colspan="2">{{ 'category'|_ }}</th>
{% for period in periods %}
<th data-defaultsort="disabled">{{ period }}</th>
{% endfor %}
@@ -11,10 +11,12 @@
<tbody>
{% for id, info in report %}
<tr>
+ <td>
+ <a class="btn btn-default btn-xs" href="{{ route('categories.show', [id]) }}"><i class="fa fa-external-link" aria-hidden="true"></i></a>
+ </td>
<td data-value="{{ info.name }}">
<a title="{{ info.name }}" href="#" data-category="{{ id }}" class="category-chart-activate">{{ info.name }}</a>
</td>
-
{% for key, period in periods %}
{# income first #}
{% if(info.entries[key]) %}