This commit is contained in:
James Cole
2020-09-11 07:12:11 +02:00
parent 22dc03f32c
commit 0b308cb5f2
3 changed files with 39 additions and 45 deletions

View File

@@ -112,26 +112,23 @@
</div>
</div>
</div>
{% if limits|length > 0 %}
<div class="row">
<div class="col-lg-offset-9 col-lg-3 col-md-offset-9 col-md-3 col-sm-12 col-xs-12">
<p class="small text-center"><a href="{{ route('budgets.show',budget.id) }}">{{ 'showEverything'|_ }}</a></p>
</div>
</div>
{% endif %}
<div class="row">
<div class="col-lg-9 col-md-9 col-sm-12 col-xs-12">
<div class="{% if limits|length > 0 %}col-lg-9 col-md-9 col-sm-12 col-xs-12{% else %}col-lg-12 col-md-12 col-sm-12 col-xs-12{% endif %}">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'transactions'|_ }}</h3>
</div>
<div class="box-body">
{% if budgetLimit %}
{% include 'list.groups' %}
{% else %}
{% include 'list.groups' %}
{% endif %}
{% include 'list.groups' %}
{% if budgetLimit %}
<p>
<i class="fa fa-calendar"></i>
@@ -143,6 +140,7 @@
</div>
</div>
</div>
{% if limits|length > 0 %}
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
{% for limit in limits %}
<div class="box {% if limit.start_date == budgetLimit.start_date %}box-primary box-solid{% endif %}">
@@ -199,6 +197,7 @@
{% endfor %}
<p class="small text-center"><a href="{{ route('budgets.show',budget.id) }}">{{ 'showEverything'|_ }}</a></p>
</div>
{% endif %}
</div>
{% endblock %}