Skip to content

Commit

Permalink
enh: Add Forms to header title on public link view
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
  • Loading branch information
Chartman123 authored and backportbot-nextcloud[bot] committed Dec 12, 2023
1 parent 99c11de commit 37758aa
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());

Check warning on line 258 in lib/Controller/PageController.php

View check run for this annotation

Codecov / codecov/patch

lib/Controller/PageController.php#L258

Added line #L258 was not covered by tests

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

0 comments on commit 37758aa

Please sign in to comment.