Commit f741a13d authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Get rid of dodgy <h3>s inside <h2>s and put the view title all on

one line.
parent 6ddde1d7
......@@ -60,13 +60,13 @@ if ($artefactid) {
array_unshift($links, $link);
$ancestorid = $ancestor->parent;
}
$title = '<div><a href="view.php?view=' . $viewid . '">' . $view->get('title') . "</a></div>\n";
$title .= implode(' | ', $links);
$title .= "<h3>$artefact->title</h3>";
$title = '<a href="view.php?view=' . $viewid . '">' . $view->get('title') . '</a>';
$title .= implode(' - ', $links);
$title .= ' - ' . $artefact->title;
$jsartefact = $artefactid;
}
else {
$title = "<h3>" . $view->get('title') . "</h3>\n";
$title = $view->get('title');
$jsartefact = 'undefined';
$content = $view->render();
}
......
Supports Markdown
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