summaryrefslogtreecommitdiff
path: root/templates/packages/files.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-12-03 13:27:12 -0600
committerDan McGee <dan@archlinux.org>2011-12-03 13:27:12 -0600
commit546012c8e0d9e757e4670dd14e41acb83eb4e997 (patch)
tree317e0e3b54e91b93fbad7df502ceb300a4036970 /templates/packages/files.html
parentb2de5fec2bd112eb937dcb98b25685078cccdeb1 (diff)
Show files and directory count in standalone package files view
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/files.html')
-rw-r--r--templates/packages/files.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/packages/files.html b/templates/packages/files.html
index 50ab6e83..a564f726 100644
--- a/templates/packages/files.html
+++ b/templates/packages/files.html
@@ -8,9 +8,9 @@
<h2>Package File List: {{ pkg.pkgname }} {{ pkg.full_version }}</h2>
<div id="metadata">
<p><a href="{{ pkg.get_absolute_url }}">Back to Package</a></p>
+ <p>Package has {{ files_count }} file{{ files_count|pluralize }} and {{ dir_count }} director{{ dir_count|pluralize:"y,ies" }}.</p>
{% include "packages/files-list.html" %}
</div>
</div>
{% endblock %}
-