diff --git a/CHANGELOG b/CHANGELOG index 332cccc1..5ff67a9b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -29,3 +29,7 @@ volume of data in the system. This patch restricts the chart to 1000px wide. 2009-12-16 r146 Issue #121 Formatting fix for email subjects. Thanks, Andreas Kotowicz. + +2009-12-16 r147 Issue #119 Update Russian translation, thanks to Alex Yakovlev + +2009-12-23 r148 Issue #125 Errors occurring when running reports with no data diff --git a/templates/helpdesk/report_index.html b/templates/helpdesk/report_index.html index 2bd496bd..29bf56de 100644 --- a/templates/helpdesk/report_index.html +++ b/templates/helpdesk/report_index.html @@ -2,9 +2,17 @@ {% block helpdesk_title %}{% trans "Reports & Statistics" %}{% endblock %} -{% block helpdesk_body %}{% blocktrans %} +{% block helpdesk_body %} +{% ifequal num_tickets 0 %}{% blocktrans %}
You haven't created any tickets yet, so you cannot run any reports.
+{% endblocktrans %} +{% else %} +{% blocktrans %} +