firefly-iii/resources/views/bills/index.twig

34 lines
1.4 KiB
Twig
Raw Normal View History

2016-11-06 09:17:22 -06:00
{% extends "./layout/default" %}
2015-06-19 13:59:14 -05:00
{% block breadcrumbs %}
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
{% endblock %}
2015-05-02 05:51:02 -05:00
{% block content %}
2017-02-23 00:30:08 -06:00
{% if bills.count == 0 %}
{% include 'partials.empty' with {what: 'default', type: 'bills',route: route('bills.create')} %}
{% else %}
<div class="row">
<div class="col-lg-12 col-sm-12 col-md-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ title }}</h3>
2015-05-02 05:51:02 -05:00
2017-02-23 00:30:08 -06:00
<!-- ACTIONS MENU -->
<div class="box-tools pull-right">
<div class="btn-group">
<button class="btn btn-box-tool dropdown-toggle" data-toggle="dropdown"><i class="fa fa-ellipsis-v"></i></button>
<ul class="dropdown-menu" role="menu">
<li><a href="{{ route('bills.create') }}"><i class="fa fa-plus fa-fw"></i> New bill</a></li>
</ul>
</div>
2015-06-22 10:55:37 -05:00
</div>
2015-05-02 05:51:02 -05:00
</div>
2017-02-23 00:30:08 -06:00
<div class="box-body table-responsive no-padding">
{% include 'list/bills' %}
</div>
2015-06-22 10:55:37 -05:00
</div>
2015-05-02 05:51:02 -05:00
</div>
</div>
2017-02-23 00:30:08 -06:00
{% endif %}
{% endblock %}