Browse Source

fix title course en section lp - refs BT#12949

Alex Aragon 7 years ago
parent
commit
b345448f52

+ 0 - 1
app/Resources/public/css/themes/rainbow/learnpath.css

@@ -354,7 +354,6 @@ table.lp_overview img {
     margin: 0 0.5em 0 90px;
     padding-left: 25px;
 }
-/* nuevo scorm */
 #scorm-panel .panel-default .panel-heading{
     padding: 0;
 }

+ 1 - 0
main/lp/lp_view.php

@@ -545,6 +545,7 @@ $template->assign(
 
 $template->assign('lp_author', $_SESSION['oLP']->get_author());
 $template->assign('lp_mode', $_SESSION['oLP']->mode);
+$template->assign('title_course', $_SESSION['oLP']->course_info['title']);
 $template->assign('lp_title_scorm', $_SESSION['oLP']->name);
 $template->assign('lp_id', $_SESSION['oLP']->lp_id);
 $template->assign('lp_current_item_id', $_SESSION['oLP']->get_current_item_id());

+ 1 - 1
main/template/rainbow/learnpath/view.tpl

@@ -9,7 +9,7 @@
         <div class="lp-view-zone-container">
             <div id="scorm-info" class="scorm-header">
                 <div id="panel-scorm" class="panel-body">
-                    <h1 class="title">{{ lp_title_scorm }}</h1>
+                    <h1 class="title">{{ title_course }}</h1>
                     {% if show_audio_player %}
                         <div id="lp_media_file" class="audio-scorm">
                             {{ media_player }}