From 5ee5e5a4202310ee2210b5edbc26fb96f5f65ce8 Mon Sep 17 00:00:00 2001 From: Ismael Carnales Date: Sat, 31 Oct 2009 16:32:48 -0200 Subject: updated packages template files from code of pub --- templates/packages/files.html | 14 +++++++------- templates/packages/search.html | 17 ++++++++++------- 2 files changed, 17 insertions(+), 14 deletions(-) (limited to 'templates') diff --git a/templates/packages/files.html b/templates/packages/files.html index 24f5581..145bcf2 100644 --- a/templates/packages/files.html +++ b/templates/packages/files.html @@ -1,11 +1,11 @@ {% extends "base.html" %} - +{% block title %}Pkg: {{ pkg.pkgname }} - Arch Linux Package File List{% endblock %} {% block content %} -
-

Viewing Files: {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}

- {% for file in files %} - {{ file.path }}
- {% endfor %} -
+
+

Viewing Files: {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}

+ {% for file in files %} + {{ file.path }}
+ {% endfor %} +
{% endblock %} diff --git a/templates/packages/search.html b/templates/packages/search.html index 37ee3bc..93b18b2 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -2,15 +2,16 @@ {% load package_extras %} {% block title %}Arch Linux - Package Search{% endblock %} {% block head %} - {{search_form.media}} + {% endblock %} {% block content %}

Search Criteria

+ @@ -119,12 +120,14 @@ {% endif %} - - - - - - + {% if user.is_authenticated %} + + + + + + + {% endif %}
Arch
  
  
{% endif %} -- cgit v1.2.3-24-g4f1b