* updated installation docu #113 * rewritten login page #113 * added icheck plugin #113 * changed to YesNoType in edit forms #113 * updated CONTRIBUTING.md #113 * added start of developer docu #113 * added compile scripts and compiled assets #113
27 lines
810 B
Twig
27 lines
810 B
Twig
{% extends 'base.html.twig' %}
|
|
{% import "macros/widgets.html.twig" as widgets %}
|
|
{% import "macros/toolbar.html.twig" as macro %}
|
|
|
|
{% block page_title %}{{ 'invoice.title'|trans }}{% endblock %}
|
|
{% block page_subtitle %}{{ 'invoice.subtitle'|trans }}{% endblock %}
|
|
|
|
{% block avanzu_page_content_class %}invoice{% endblock %}
|
|
|
|
{% block main_before %}
|
|
{{ macro.toolbar(form, {'plus-square': path('admin_invoice_template_create'), 'list': path('admin_invoice_template')}) }}
|
|
{% endblock %}
|
|
|
|
{% block main_after %}
|
|
<div class="clearfix"></div>
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
|
|
{% if model.entries is empty or action is empty %}
|
|
{{ widgets.callout('warning', 'invoice.select_filter') }}
|
|
{% else %}
|
|
{{ render(controller(action, {'model': model})) }}
|
|
{% endif %}
|
|
|
|
{% endblock %}
|