From e4f63d51b226b70342277a882b94fbc4770e93be Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 31 Jan 2010 11:50:34 -0600 Subject: Fix up the packages search page * Don't show checkboxes for non-authenticated users * Fix up the adopt buttons to not be a table row * Fix the form which didn't have a closing tag Signed-off-by: Dan McGee --- templates/packages/search.html | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/packages/search.html b/templates/packages/search.html index 93b18b2..67d61fb 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -39,10 +39,11 @@ {% if package_list %}
+
{% if paginator %} - @@ -67,8 +68,9 @@ {% endif %} - + {% if user.is_authenticated %} + {% endif %} @@ -80,7 +82,9 @@ {% for pkg in package_list %} + {% if user.is_authenticated %} + {% endif %} @@ -96,7 +100,7 @@ {% endfor %} {% if paginator %} - @@ -120,15 +124,14 @@ {% endif %} - {% if user.is_authenticated %} - - - - - - - {% endif %}
+ {{paginator.count}} packages found. Page {{page_obj.number}} of {{paginator.num_pages}}.
 Arch Repo Name
{{ pkg.arch.name }} {{ pkg.repo.name|capfirst }} {{ pkg.pkgname }}
+ {{paginator.count}} packages found. Page {{page_obj.number}} of {{paginator.num_pages}}.
  
+ {% if user.is_authenticated %} +
+ + +
+ {% endif %} +
{% endif %} {% endblock %} -- cgit v1.2.3-24-g4f1b