WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 93e929f

Browse files
committed
remove downloads statistics from MSP-only federation view
1 parent ef17d7b commit 93e929f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/admin/overview_federation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@
182182
?>
183183
</table>
184184
</div>
185+
<?php if(\config\Master::FUNCTIONALITY_FLAGS['SINGLE_SERVICE'] !== 'MSP') { ?>
185186
<div class='infobox'>
186187
<h2>
187188
<?php $tablecaption3 = sprintf(_("%s Statistics: %s"), $uiElements->nomenclatureFed, $thefed->name); echo $tablecaption3; ?>
@@ -216,6 +217,7 @@
216217
</table>
217218
<button style="position:absolute; bottom:9px;" class="stat-button"><?php echo _("Show downloads") ?></button>
218219
</div>
220+
<?php } ?>
219221
<br>
220222
<?php
221223
if ($editMode === 'fullaccess') {

0 commit comments

Comments
 (0)