fix(settings): Always show "Nextcloud" before version number

Signed-off-by: Fabian Zwemke <fabian@zwemke.de>
pull/41317/head
Fabian Zwemke 7 months ago committed by Andy Scherzinger
parent 2ae5bdba89
commit 6a49509d4b
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

@ -74,9 +74,5 @@
<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>

Loading…
Cancel
Save