From 4a9301a215ee3e3f36d2cecfc14a9a4976b38079 Mon Sep 17 00:00:00 2001 From: volpino Date: Tue, 5 Jun 2012 13:10:25 +0200 Subject: [PATCH] euscanwww: naive implementation of the refresh button A refresh button lets launching a scan_upstream task for a package while navigating into euscanwww Signed-off-by: volpino --- .../djeuscan/templates/euscan/package.html | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/euscanwww/djeuscan/templates/euscan/package.html b/euscanwww/djeuscan/templates/euscan/package.html index c5af507..5b3fb81 100644 --- a/euscanwww/djeuscan/templates/euscan/package.html +++ b/euscanwww/djeuscan/templates/euscan/package.html @@ -24,7 +24,15 @@ {% endblock %} {% block content %} -

{{ package.category }}/{{ package.name }}

+

+ {{ package.category }}/{{ package.name }} + + {% if user.is_superuser %} + + {% endif %} +

{% if package.description %}
Description
@@ -129,4 +137,14 @@ {% endif %}
+ + + {% endblock %}