From 7e1e5a5e8a2f3231d0878612508aba06f4397024 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 27 Feb 2010 10:31:55 -0600 Subject: files: template reuse Get rid of the copy/paste by including the sub-template. Signed-off-by: Dan McGee --- templates/packages/files.html | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'templates/packages/files.html') diff --git a/templates/packages/files.html b/templates/packages/files.html index dc0c64b7..1d87246c 100644 --- a/templates/packages/files.html +++ b/templates/packages/files.html @@ -3,14 +3,7 @@ {% block content %}

{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}

-
-

Files:

-
    - {% for file in files %} -
  • {{ file.path }}
  • - {% endfor %} -
-
+ {% include "packages/files-list.html" %}
{% endblock %} -- cgit v1.2.3-54-g00ecf