Commit 85b54157 authored by Stefan Auditor's avatar Stefan Auditor Committed by Lukas Fleischer
Browse files

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: default avatarStefan Auditor <>
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent 095986b4
......@@ -290,7 +290,7 @@ endif;
<?php endif; ?>
<div id="pkgfiles" class="listing">
<h3><?= __('Sources') ?></h3>
<h3><?= __('Sources') . " (" . count($sources) . ")"?></h3>
<?php if (count($sources) > 0): ?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment