Commit 7cb72733 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Allow the page preview to show actual content (Bug #1442130)"

parents aa119b08 e7665b43
......@@ -27,7 +27,7 @@ $smarty->assign('viewid', $id);
$smarty->assign('collectiontitle', $collection->get('name'));
$smarty->assign('ownername', $firstview->formatted_owner());
$smarty->assign('collectiondescription', $collection->get('description'));
$smarty->assign('viewcontent', $firstview->build_rows());
$smarty->assign('viewcontent', $firstview->build_rows(false, true));
$smarty->assign('tags', $firstview->get('tags'));
$shownav = $collection->get('navigation');
......
......@@ -25,7 +25,7 @@ $smarty = smarty_core();
$smarty->assign('viewtitle', $view->get('title'));
$smarty->assign('ownername', $view->formatted_owner());
$smarty->assign('viewdescription', ArtefactTypeFolder::append_view_url($view->get('description'), $view->get('id')));
$smarty->assign('viewcontent', $view->build_rows());
$smarty->assign('viewcontent', $view->build_rows(false, true));
$smarty->assign('tags', $view->get('tags'));
$html = $smarty->fetch('view/viewcontent.tpl');
......
Markdown is supported
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