Permalink
Browse files

Merge branch 'MDL-61581-33' of https://github.com/lucaboesch/moodle i…

…nto MOODLE_33_STABLE
  • Loading branch information...
dmonllao committed Apr 11, 2018
2 parents 1c93fc9 + dc57cba commit 2e980b6b3a93641de774612fb23422913d0e0ca9
Showing with 4 additions and 2 deletions.
  1. +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();

0 comments on commit 2e980b6

Please sign in to comment.