summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorStefan Auditor <stefan.auditor@erdfisch.de>2015-08-16 22:50:22 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-08-17 04:20:45 +0200
commit85b54157ea94ec48c0669d4e0fe1e6cd79865efb (patch)
treef0a510d7ff3f6b563062fcb5eec361cdd936b516 /web
parent095986b44974c569b36d34dd26902e910ccc7d8b (diff)
downloadaur-85b54157ea94ec48c0669d4e0fe1e6cd79865efb.tar.gz
aur-85b54157ea94ec48c0669d4e0fe1e6cd79865efb.tar.xz
Display sources count on package details page
Show item count on sources section just like it is done for dependencies and required by. Fixes FS#45881. Signed-off-by: Stefan Auditor <stefan.auditor@erdfisch.de> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web')
-rw-r--r--web/template/pkg_details.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index 9730d7e6..f4eed514 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -290,7 +290,7 @@ endif;
<?php endif; ?>
</div>
<div id="pkgfiles" class="listing">
- <h3><?= __('Sources') ?></h3>
+ <h3><?= __('Sources') . " (" . count($sources) . ")"?></h3>
</div>
<?php if (count($sources) > 0): ?>
<div>