Skip to content

Conversation

@PVince81
Copy link
Member

Similar pattern we used before: https://github.com/nextcloud/server/blob/v23.0.4/apps/settings/templates/settings/admin/overview.php#L70

Please note that it's not possible to hard-code this title in \OC_Defaults because the title itself needs special formatting of the version, otherwise it doesn't look good as Nextcloud Hub 3 25.0.0 beta6 => Nextcloud Hub (25.0.0 beta 6)

image

@PVince81 PVince81 added enhancement 3. to review Waiting for reviews labels Sep 14, 2022
@PVince81 PVince81 added this to the Nextcloud 25 milestone Sep 14, 2022
@PVince81 PVince81 self-assigned this Sep 14, 2022
<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'): ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the difference between $theme->getTitle and $theme->getName?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm no idea

@PVince81 PVince81 merged commit eff8919 into master Sep 14, 2022
@PVince81 PVince81 deleted the its-nextcloud-hub-3 branch September 14, 2022 08:29
@skjnldsv skjnldsv mentioned this pull request Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants