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 committed Dec 11, 2023
1 parent 34096e2 commit 601becf
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());

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

View check run for this annotation

Codecov / codecov/patch

lib/Controller/PageController.php#L207

Added line #L207 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 601becf

Please sign in to comment.