Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Nextcloud Hub 3 in overview page when applicable #34066

Merged
merged 1 commit into from
Sep 14, 2022

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

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@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
@@ -67,5 +67,9 @@
<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.

4 participants