From eba4e32891f12bca2b922ee6d859513f67789f42 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 26 Apr 2012 14:43:18 -0500 Subject: 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 --- templates/packages/files.html | 8 ++++---- templates/packages/files_list.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'templates') diff --git a/templates/packages/files.html b/templates/packages/files.html index 6524fe93..ba3fba25 100644 --- a/templates/packages/files.html +++ b/templates/packages/files.html @@ -5,12 +5,12 @@ {% block content %}
-

Package File List: {{ pkg.pkgname }} {{ pkg.full_version }}

-
-

Back to Package

+

{{ pkg.pkgname }} {{ pkg.full_version }} File List

+

Package has {{ files_count }} file{{ files_count|pluralize }} and {{ dir_count }} director{{ dir_count|pluralize:"y,ies" }}.

+

Back to Package

{% include "packages/files_list.html" %} -
+
{% endblock %} diff --git a/templates/packages/files_list.html b/templates/packages/files_list.html index 156d8588..93a2c847 100644 --- a/templates/packages/files_list.html +++ b/templates/packages/files_list.html @@ -6,7 +6,7 @@ {% if files|length %} {% else %}

Package has no files.

-- cgit v1.2.3-54-g00ecf