euscanwww/templates: add some "extras"

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
Corentin Chary
2012-02-14 14:53:33 +01:00
parent 31af7ae416
commit 9e47ceb311
3 changed files with 27 additions and 0 deletions

@ -15,6 +15,9 @@
<th>Gentoo</th>
<th>Overlays</th>
<th>Unpackaged</th>
{% if request.GET.extras %}
<th>Graphs</th>
{% endif %}
</thead>
<tbody>
{% for category in categories %}
@ -24,6 +27,12 @@
{% package_bar category %}
</td>
{% package_cols category %}
{% if request.GET.extras %}
<td>
<img src="{% url euscan.views.chart_category category.category 'packages-monthly-small' %}" />
<img src="{% url euscan.views.chart_category category.category 'versions-monthly-small' %}" />
</td>
{% endif %}
</tr>
{% endfor %}
</tbody>