diff --git a/main/template/default/layout/layout_2_col.tpl b/main/template/default/layout/layout_2_col.tpl index 598bcf3be0..9388a45cac 100755 --- a/main/template/default/layout/layout_2_col.tpl +++ b/main/template/default/layout/layout_2_col.tpl @@ -101,7 +101,7 @@ {% block content %} {% if content is not null %} -
+
{{ content }}
{% endif %} diff --git a/user_portal.php b/user_portal.php index bcb930d7a2..acfa80bcf7 100755 --- a/user_portal.php +++ b/user_portal.php @@ -186,6 +186,11 @@ $controller->tpl->assign('classes_block', $controller->return_classes_block()); //if (api_is_platform_admin() || api_is_drh()) { $controller->tpl->assign('skills_block', $controller->return_skills_links()); //} +$historyClass = ''; +if (!empty($_GET['history'])) { + $historyClass = 'courses-history'; +} +$controller->tpl->assign('course_history_page', $historyClass); $controller->tpl->display_two_col_template(); // Deleting the session_id.