This commit is contained in:
James Cole
2018-01-14 19:36:24 +01:00
parent c2a425121d
commit 00607d2a6d
4 changed files with 84 additions and 86 deletions

View File

@@ -88,7 +88,7 @@
<div class="col-lg-2 col-md-4 col-sm-12 col-xs-12">
{% for period in periods %}
{% if period.spent != 0 or period.earned != 0 or period.sum != 0 %}
<div class="box {% if period.date == start %}box-solid box-primary{% endif %}">
<div class="box {% if period.date == end %}box-solid box-primary{% endif %}">
<div class="box-header with-border">
<h3 class="box-title"><a href="{{ route('categories.show',[category.id,period.string]) }}">{{ period.name }}</a>
</h3>