Skip to content

Commit

Permalink
Merge pull request #1828 from nextcloud/enh/add-forms-to-public-title
Browse files Browse the repository at this point in the history
enh: Add Forms to header title on public link view
  • Loading branch information
Chartman123 authored Dec 12, 2023
2 parents 585b272 + 601becf commit d2878a4
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 @@ -204,7 +204,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 d2878a4

Please sign in to comment.