Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
4 additions
and
2 deletions.
-
+4
−2
mod/lesson/renderer.php
|
@@ -169,11 +169,13 @@ public function continue_links(lesson $lesson, $lastpageseenid) { |
|
|
$output = $this->output->box(get_string('youhaveseen','lesson'), 'generalbox boxaligncenter'); |
|
|
$output .= $this->output->box_start('center'); |
|
|
|
|
|
$yeslink = html_writer::link(new moodle_url('/mod/lesson/view.php', array('id'=>$this->page->cm->id, 'pageid'=>$lastpageseenid, 'startlastseen'=>'yes')), get_string('yes')); |
|
|
$yeslink = html_writer::link(new moodle_url('/mod/lesson/view.php', array('id' => $this->page->cm->id, |
|
|
'pageid' => $lastpageseenid, 'startlastseen' => 'yes')), get_string('yes'), array('class' => 'btn btn-primary')); |
|
|
$output .= html_writer::tag('span', $yeslink, array('class'=>'lessonbutton standardbutton')); |
|
|
$output .= ' '; |
|
|
|
|
|
$nolink = html_writer::link(new moodle_url('/mod/lesson/view.php', array('id'=>$this->page->cm->id, 'pageid'=>$lesson->firstpageid, 'startlastseen'=>'no')), get_string('no')); |
|
|
$nolink = html_writer::link(new moodle_url('/mod/lesson/view.php', array('id' => $this->page->cm->id, |
|
|
'pageid' => $lesson->firstpageid, 'startlastseen' => 'no')), get_string('no'), array('class' => 'btn btn-secondary')); |
|
|
$output .= html_writer::tag('span', $nolink, array('class'=>'lessonbutton standardbutton')); |
|
|
|
|
|
$output .= $this->output->box_end(); |
|
|