From cc0d7c343bbfd1faf24cea8ac20ab68a0ea0db30 Mon Sep 17 00:00:00 2001 From: Nicolas Roeser Date: Tue, 6 Nov 2018 14:53:06 +0100 Subject: [PATCH] Add vertical spacing after certificate download button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Increase the vertical spacing after the single button for downloading user’s own certificate. This makes the page look better. --- view.php | 1 + 1 file changed, 1 insertion(+) diff --git a/view.php b/view.php index 4c1e01d..0f94c9f 100644 --- a/view.php +++ b/view.php @@ -137,6 +137,7 @@ if (!$downloadown && !$downloadissue) { $linkname = get_string('getcustomcert', 'customcert'); $link = new moodle_url('/mod/customcert/view.php', array('id' => $cm->id, 'downloadown' => true)); $downloadbutton = new single_button($link, $linkname, 'post', true); + $downloadbutton->class .= ' m-b-1'; // Seems a bit hackish, ahem. $downloadbutton = $OUTPUT->render($downloadbutton); // Output all the page data.