Skip to content

Commit

Permalink
Merge pull request #1829 from nextcloud/backport/1828/stable3
Browse files Browse the repository at this point in the history
[stable3] enh: Add Forms to header title on public link view
  • Loading branch information
Chartman123 authored Dec 12, 2023
2 parents 99c11de + 37758aa commit 2a1499f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public function provideTemplate(string $template, Form $form = null, array $opti
// Set Header
$response->setHeaderTitle($this->l10n->t('Forms'));
if ($form !== null) {
$response->setHeaderTitle($form->getTitle());
$response->setHeaderTitle($this->l10n->t('Forms') . ' · ' . $form->getTitle());

// Get owner and check display name privacy settings
$owner = $this->userManager->get($form->getOwnerId());
Expand Down

0 comments on commit 2a1499f

Please sign in to comment.