[aur-dev] [PATCH] Display sources count on package details page
16 Aug
2015
16 Aug
'15
8:50 p.m.
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> --- web/template/pkg_details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index ae8d084..c79c00f 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -285,7 +285,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> -- 2.5.0
3442
Age (days ago)
3442
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Auditor