From 3d7f501293ed74fefb599451d4c98b8d1f460b15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Luca=20B=C3=B6sch?= Date: Fri, 2 Mar 2018 17:00:59 +0100 Subject: [PATCH] MDL-61581 lesson: style continue to last buttons --- mod/lesson/renderer.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mod/lesson/renderer.php b/mod/lesson/renderer.php index c223ff17990..b0e35c01c5f 100644 --- a/mod/lesson/renderer.php +++ b/mod/lesson/renderer.php @@ -169,11 +169,13 @@ class mod_lesson_renderer extends plugin_renderer_base { $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(); -- 2.11.4.GIT