summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-03-12 00:48:29 +0100
committerDan McGee <dan@archlinux.org>2013-03-12 00:48:31 +0100
commit6172b6dd09f932de8db7ab69641370d78d25a4c2 (patch)
treea46f37a1f384885809ae3916350f881add06a61c /templates
parentd1d40670d35213cc430d242ff96c4697bff6e26d (diff)
downloadarchweb-6172b6dd09f932de8db7ab69641370d78d25a4c2.tar.gz
archweb-6172b6dd09f932de8db7ab69641370d78d25a4c2.tar.xz
Make todolists fully public
Remove the login_required decorator from the index and detail views to allow everyone to see the same thing. Of course, when I say "same" here, unauthenticated users don't see the same links developers do to mark packages complete and incomplete. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/todolists/view.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index 1b9a9e3..a96297c 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -45,8 +45,10 @@
<div><label for="id_repo_{{ repo.name|lower }}" title="Target Repository {{ repo.name }}">[{{ repo.name|lower }}]</label>
<input type="checkbox" name="repo_{{ repo.name|lower }}" id="id_repo_{{ repo.name|lower }}" class="repo_filter" value="{{ repo.name|lower }}" checked="checked"/></div>
{% endfor %}
+ {% if user.is_authenticated %}
<div><label for="id_mine_only" title="Show only packages maintained by me">Only Mine</label>
<input type="checkbox" name="mine_only" id="id_mine_only" value="mine_only"/></div>
+ {% endif %}
<div><label for="id_incomplete" title="Packages not yet completed">Only Incomplete</label>
<input type="checkbox" name="incomplete" id="id_incomplete" value="incomplete"/></div>
<div ><label>&nbsp;</label><input title="Reset search criteria" type="button" id="criteria_reset" value="Reset"/></div>