Commit e7665b43 authored by Robert Lyon's avatar Robert Lyon

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

Rather than the loading spinners

Change-Id: I051fedd6bb8ee5061960c5f6bb2a67fb5b72d9ad
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent a3eea7b1
......@@ -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