Skip to content
Snippets Groups Projects
Commit d5fd7bc1 authored by Benjamin Mack's avatar Benjamin Mack Committed by Frank Nägler
Browse files

[BUGFIX] Workspaces module: Add h1 headline with page title

In order to be consistent with the
other Web modules, the workspace
module should output the page title as
h1.

Resolves: #63209
Releases: master
Change-Id: Iac6cf837f8fee60feafa8f6e5bd34a8968b70a5c
Reviewed-on: http://review.typo3.org/34789


Reviewed-by: default avatarMathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: default avatarMathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: default avatarFrank Nägler <typo3@naegler.net>
Tested-by: default avatarFrank Nägler <typo3@naegler.net>
parent 9a5097ab
Branches
Tags
No related merge requests found
......@@ -36,6 +36,10 @@ class ReviewController extends AbstractController {
$this->view->assign('showGrid', !($GLOBALS['BE_USER']->workspace === 0 && !$GLOBALS['BE_USER']->isAdmin()));
$this->view->assign('showAllWorkspaceTab', TRUE);
$this->view->assign('pageUid', GeneralUtility::_GP('id'));
if (GeneralUtility::_GP('id')) {
$pageRecord = BackendUtility::getRecord('pages', GeneralUtility::_GP('id'));
$this->view->assign('pageTitle', BackendUtility::getRecordTitle('pages', $pageRecord));
}
$this->view->assign('showLegend', !($GLOBALS['BE_USER']->workspace === 0 && !$GLOBALS['BE_USER']->isAdmin()));
$wsList = $wsService->getAvailableWorkspaces();
$activeWorkspace = $GLOBALS['BE_USER']->workspace;
......
......@@ -25,6 +25,7 @@
<div id="typo3-docbody">
<div id="typo3-inner-docbody">
<f:if condition="{pageTitle}"><h1>{pageTitle}</h1></f:if>
<f:flashMessages renderMode="div" />
<div id="workspacetabs"></div>
<div class="typo3-dyntabmenu-divs"><f:render section="main" /></div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment