Configurable img source path

This commit is contained in:
Florent Dionisi
2010-01-25 09:10:35 +01:00
parent 7539b40e94
commit 4f7045fae1
+1 -1
View File
@@ -1,6 +1,6 @@
{% load i18n %}
{% for elems in graphs %}
<h3>{{ elems.label }}</h3>
<p><img src="/static/graphs/{{ elems.name }}_{{ domain }}_AVERAGE_{% ifequal period 'Custom' %}{{ period_name }}{% else %}{{ period }}{% endifequal %}.png"
<p><img src="/img/stats/{{ elems.name }}_{{ domain }}_AVERAGE_{% ifequal period 'Custom' %}{{ period_name }}{% else %}{{ period }}{% endifequal %}.png"
alt="{% trans 'No statistics available' %}" /></p>
{% endfor %}