Fixed bugs introduced in last commit

This commit is contained in:
Raphael Michel
2016-05-07 14:53:23 +02:00
parent 38f1a43f31
commit c0da0db59c
5 changed files with 7 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
{% block title %}{% trans "Attendees" %}{% endblock %}
{% block content %}
<h1>{% trans "Attendees" %}</h1>
{% if attendees|length == 0 %}
{% if not filtered and attendees|length == 0 %}
<div class="empty-collection">
<p>
{% blocktrans trimmed %}

View File

@@ -4,7 +4,7 @@
{% block title %}{% trans "Orders" %}{% endblock %}
{% block content %}
<h1>{% trans "Orders" %}</h1>
{% if questions|length == 0 %}
{% if not filtered and orders|length == 0 %}
<div class="empty-collection">
<p>
{% blocktrans trimmed %}