Skip to content

Commit

Permalink
fix(settings): Always show "Nextcloud" before version number
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Zwemke <fabian@zwemke.de>
  • Loading branch information
fabianzw authored and AndyScherzinger committed Feb 27, 2024
1 parent 6ee590b commit 8711e2f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/settings/templates/settings/admin/overview.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,5 @@ class="icon-info"
<div id="version" class="section">
<!-- should be the last part, so Updater can follow if enabled (it has no heading therefore). -->
<h2><?php p($l->t('Version'));?></h2>
<?php if ($theme->getTitle() === 'Nextcloud'): ?>
<p><strong><a href="<?php print_unescaped($theme->getBaseUrl()); ?>" rel="noreferrer noopener" target="_blank">Nextcloud Hub 7</a> (<?php p(OC_Util::getHumanVersion()) ?>)</strong></p>
<?php else: ?>
<p><strong><a href="<?php print_unescaped($theme->getBaseUrl()); ?>" rel="noreferrer noopener" target="_blank"><?php p($theme->getTitle()); ?></a> <?php p(OC_Util::getHumanVersion()) ?></strong></p>
<?php endif; ?>
</div>

0 comments on commit 8711e2f

Please sign in to comment.