Add vertical spacing after certificate download button
Increase the vertical spacing after the single button for downloading user’s own certificate. This makes the page look better.
This commit is contained in:
parent
d451ed8f01
commit
cc0d7c343b
1 changed files with 1 additions and 0 deletions
1
view.php
1
view.php
|
@ -137,6 +137,7 @@ if (!$downloadown && !$downloadissue) {
|
||||||
$linkname = get_string('getcustomcert', 'customcert');
|
$linkname = get_string('getcustomcert', 'customcert');
|
||||||
$link = new moodle_url('/mod/customcert/view.php', array('id' => $cm->id, 'downloadown' => true));
|
$link = new moodle_url('/mod/customcert/view.php', array('id' => $cm->id, 'downloadown' => true));
|
||||||
$downloadbutton = new single_button($link, $linkname, 'post', true);
|
$downloadbutton = new single_button($link, $linkname, 'post', true);
|
||||||
|
$downloadbutton->class .= ' m-b-1'; // Seems a bit hackish, ahem.
|
||||||
$downloadbutton = $OUTPUT->render($downloadbutton);
|
$downloadbutton = $OUTPUT->render($downloadbutton);
|
||||||
|
|
||||||
// Output all the page data.
|
// Output all the page data.
|
||||||
|
|
Loading…
Reference in a new issue