Permalink
Browse files

Merge branch 'MDL-61581-master' of https://github.com/lucaboesch/moodle

  • Loading branch information...
dmonllao committed Apr 11, 2018
2 parents 27fef51 + 3d7f501 commit 0ca25fe2a95cff0ee6413a827dfa1a2425d6b75e
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 0ca25fe

Please sign in to comment.