diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-26 21:43:18 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-26 21:43:18 +0200 |
commit | eba4e32891f12bca2b922ee6d859513f67789f42 (patch) | |
tree | f5dbfbede1e72f2efc0926fa03305472b286f2cc /templates/packages/files_list.html | |
parent | 5f22f4266cd978b4fd80cafb2201e39acaeef3fc (diff) | |
download | archweb-eba4e32891f12bca2b922ee6d859513f67789f42.tar.gz archweb-eba4e32891f12bca2b922ee6d859513f67789f42.tar.xz |
Package files display tweaks
Slightly gray out the directories when displaying file lists, drawing
more attention to the file names instead.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/files_list.html')
-rw-r--r-- | templates/packages/files_list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/packages/files_list.html b/templates/packages/files_list.html index 156d858..93a2c84 100644 --- a/templates/packages/files_list.html +++ b/templates/packages/files_list.html @@ -6,7 +6,7 @@ of the package; it may be out of date.</p> {% if files|length %} <ul> {% for file in files %} -<li>{{ file.directory }}{{ file.filename|default:'' }}</li>{% endfor %} +<li class="{% if file.is_directory %}d{% else %}f{% endif %}">{{ file.directory }}{{ file.filename|default:'' }}</li>{% endfor %} </ul> {% else %} <p class="message">Package has no files.</p> |