added customer administration

This commit is contained in:
Kevin Papst
2018-01-02 14:20:59 +01:00
parent 719920c7f4
commit efa3646cbe
11 changed files with 608 additions and 98 deletions

View File

@@ -12,6 +12,16 @@
{% endif %}
{% endmacro %}
{% macro label_project(project) %}
{% import _self as macro %}
{{ macro.label(project.name, 'primary') }}
{% endmacro %}
{% macro label_customer(customer) %}
{% import _self as macro %}
{{ macro.label(customer.name, 'primary') }}
{% endmacro %}
{% macro badge_counter(count, url) %}
{% if url %}
<a href="{{ url }}"><span class="badge bg-blue">{{ count }}</span></a>