diff options
author | Dan McGee <dan@archlinux.org> | 2010-02-27 10:31:55 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-27 13:36:58 -0600 |
commit | 7e1e5a5e8a2f3231d0878612508aba06f4397024 (patch) | |
tree | a8524109a7681c29d5bbeabbc03b8e706876457f /templates/packages/files-list.html | |
parent | 1c073bea62ce854448d15bac05362ec8ecba763e (diff) |
files: template reuse
Get rid of the copy/paste by including the sub-template.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/files-list.html')
-rw-r--r-- | templates/packages/files-list.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/packages/files-list.html b/templates/packages/files-list.html new file mode 100644 index 00000000..9b4c83ad --- /dev/null +++ b/templates/packages/files-list.html @@ -0,0 +1,8 @@ +<div class="listing" id="filelist"> + <h4>Files:</h4> + <ul style="font-size:small;list-style:none"> + {% for file in files %} + <li>{{ file.path }}</li> + {% endfor %} + </ul> +</div> |