|
@ -245,7 +245,11 @@ class course_renderer extends \core_course_renderer { |
|
|
} |
|
|
} |
|
|
// Display course summary. |
|
|
// Display course summary. |
|
|
if ($course->has_summary()) { |
|
|
if ($course->has_summary()) { |
|
|
|
|
|
|
|
|
$content .= html_writer::start_tag('div', array('class' => 'card-see-more text-center teste')); |
|
|
$content .= html_writer::start_tag('div', array('class' => 'card-see-more text-center teste')); |
|
|
|
|
|
$content .= html_writer::start_tag('div', array('class' => 'btn btn-inscrever')); |
|
|
|
|
|
$content .= 'Inscrever'; |
|
|
|
|
|
$content .= html_writer::end_tag('div'); |
|
|
$content .= html_writer::start_tag('div', array('class' => 'btn btn-mais-info m-2', |
|
|
$content .= html_writer::start_tag('div', array('class' => 'btn btn-mais-info m-2', |
|
|
'id' => "course-popover-{$course->id}", 'role' => 'button', 'data-region' => 'popover-region-toggle', |
|
|
'id' => "course-popover-{$course->id}", 'role' => 'button', 'data-region' => 'popover-region-toggle', |
|
|
'data-toggle' => 'popover', 'data-placement' => 'right', |
|
|
'data-toggle' => 'popover', 'data-placement' => 'right', |
|
@ -253,6 +257,7 @@ class course_renderer extends \core_course_renderer { |
|
|
array('noclean' => true, 'para' => false)), 'data-html' => 'true', 'tabindex' => '0', 'data-trigger' => 'focus')); |
|
|
array('noclean' => true, 'para' => false)), 'data-html' => 'true', 'tabindex' => '0', 'data-trigger' => 'focus')); |
|
|
$content .= 'Mais informações'; |
|
|
$content .= 'Mais informações'; |
|
|
$content .= html_writer::end_tag('div'); |
|
|
$content .= html_writer::end_tag('div'); |
|
|
|
|
|
|
|
|
$content .= html_writer::end_tag('div'); // End summary. |
|
|
$content .= html_writer::end_tag('div'); // End summary. |
|
|
} |
|
|
} |
|
|
return $content; |
|
|
return $content; |
|
|