euscanwww/templates: add some "extras"
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
parent
31af7ae416
commit
9e47ceb311
@ -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>
|
||||
|
@ -14,6 +14,9 @@
|
||||
<th>Gentoo</th>
|
||||
<th>Overlays</th>
|
||||
<th>Unpackaged</th>
|
||||
{% if request.GET.extras %}
|
||||
<th>Graphs</th>
|
||||
{% endif %}
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for herd in herds %}
|
||||
@ -25,6 +28,12 @@
|
||||
{% package_bar herd %}
|
||||
</td>
|
||||
{% package_cols herd %}
|
||||
{% if request.GET.extras %}
|
||||
<td>
|
||||
<img src="{% url euscan.views.chart_herd herd.herds__herd 'packages-monthly-small' %}" />
|
||||
<img src="{% url euscan.views.chart_herd herd.herds__herd 'versions-monthly-small' %}" />
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
@ -14,6 +14,9 @@
|
||||
<th>Gentoo</th>
|
||||
<th>Overlays</th>
|
||||
<th>Unpackaged</th>
|
||||
{% if request.GET.extras %}
|
||||
<th>Graphs</th>
|
||||
{% endif %}
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for maintainer in maintainers %}
|
||||
@ -29,6 +32,12 @@
|
||||
{% package_bar maintainer %}
|
||||
</td>
|
||||
{% package_cols maintainer %}
|
||||
{% if request.GET.extras %}
|
||||
<td>
|
||||
<img src="{% url euscan.views.chart_maintainer maintainer.maintainers__id 'packages-monthly-small' %}" />
|
||||
<img src="{% url euscan.views.chart_maintainer maintainer.maintainers__id 'versions-monthly-small' %}" />
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
Loading…
Reference in New Issue
Block a user