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

42 lines
1.6 KiB
Twig
Raw Normal View History

2016-11-06 16:17:22 +01:00
{% extends "./layout/default" %}
2015-06-19 20:59:14 +02:00
{% block breadcrumbs %}
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
{% endblock %}
2015-05-02 12:51:02 +02:00
{% block content %}
2017-02-23 07:30:08 +01: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 12:51:02 +02:00
2017-07-21 04:36:23 +02:00
2017-02-23 07:30:08 +01:00
<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">
2017-11-03 14:53:00 +01:00
<li><a href="{{ route('bills.create') }}"><i class="fa fa-plus fa-fw"></i> {{ 'new_bill'|_ }}</a></li>
2017-02-23 07:30:08 +01:00
</ul>
</div>
2015-06-22 17:55:37 +02:00
</div>
2015-05-02 12:51:02 +02:00
</div>
2017-02-23 07:30:08 +01:00
<div class="box-body table-responsive no-padding">
{% include 'list/bills' %}
</div>
2015-06-22 17:55:37 +02:00
</div>
2015-05-02 12:51:02 +02:00
</div>
</div>
2017-02-23 07:30:08 +01:00
{% endif %}
2017-07-07 08:09:42 +02:00
{% endblock %}
2017-09-27 14:42:12 +02:00
{% block styles %}
<link href="css/bootstrap-sortable.css?v={{ FF_VERSION }}" type="text/css" rel="stylesheet" media="all">
{% endblock %}
{% block scripts %}
<script type="text/javascript" src="js/lib/bootstrap-sortable.js?v={{ FF_VERSION }}"></script>
{% endblock %}