Commit graph

34 commits

Author SHA1 Message Date
Nicolas Roeser
cc0d7c343b 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.
2019-02-04 14:47:08 +08:00
Mark Nelson
520d6a2a5d #207 No need to use a table/list when displaying only one issue 2018-07-13 20:51:52 +08:00
Mark Nelson
2736eceb6a #207 Follow-up UX improvements
The majority of this change involved moving
the report page logic into the view page for
both browser and mobile.
2018-07-13 20:51:36 +08:00
Mark Nelson
3680c4586c #203 Added heading to activity view page in browser 2018-06-26 17:00:15 +08:00
Mark Nelson
75a9357dd1 #203 Don't display group select on activity view page 2018-06-26 17:00:15 +08:00
Mark Nelson
5b56acad9b #203 Don't show 'Awarded on' date to managers 2018-06-26 17:00:15 +08:00
Mark Nelson
aeee01b7be #203 Removed 'issued' string and replaced with 'receiveddate'
Also renamed 'Received date' to 'Awarded on'.
2018-06-26 17:00:15 +08:00
Mark Nelson
9c633f1b28 #203 Removed confusing 'summaryofissue' string 2018-06-26 17:00:15 +08:00
Mark Nelson
adb17cf61e Added helper function to issue certificates 2018-05-26 18:33:47 +08:00
Mark Nelson
fa69bcc604 #129 Added Behat test coverage 2017-08-11 14:30:33 +08:00
Mark Nelson
052b7b874f #85 Added new capability for viewing the course report 2017-06-02 16:24:24 +08:00
Mark Nelson
1f219af560 #115 Prevent PDF being polluted with HTML at the EOF 2017-05-31 16:16:15 +08:00
Mark Nelson
72c3b278e3 #48 Added task and settings responsible for emailing certificates 2017-04-26 21:44:33 +08:00
Mark Nelson
f83e3dca58 #83 Removed unnecessary pop-up 2017-03-04 17:59:20 +08:00
Mark Nelson
fdc5bde3d4 #88 Make plugins DB codechecker happy 2017-02-25 11:38:30 +08:00
Mark Nelson
e31236cbf2 #76 Added standard course viewed events 2017-02-16 18:01:05 +08:00
Mark Nelson
5bed5517e6 Fixed reference to a string present in the mod_certificate activity 2017-02-01 14:43:08 +08:00
Mark Nelson
a41c443135 #57 Set the activity as viewed when downloaded 2016-11-29 15:43:19 +08:00
Mark Nelson
c5859e433f #55 Fixed references to capabilities from mod_certificate 2016-11-29 13:30:16 +08:00
Mark Nelson
43d20c0d1b Huge refactor
1) Every certificate is a template. Before a user would create a certificate then had
the option to save it as a template. This could potentially be chaotic with numerous
users creating templates, making the template system a mess. Now, rather than creating
a certificate first, then saving it as a template, you are always creating a template.
Each template is associated with a context, so depending on where you are creating it
the context is different. This means users in the CONTEXT_MODULE context are creating
a template specific to that module, where as a user creating a template in the
CONTEXT_SYSTEM context would be creating a general template that can be used by others.
This meant we can remove the 'customcert_template_*' db tables. Yay - no duplicated
tables.
2) Created new helper classes and moved functionality there.
3) Moved files to classes/ for autoloading.
4) General tidy up.
2016-02-20 16:35:19 +08:00
Mark Nelson
0483cda501 Fixed access control 2015-03-13 23:37:07 -07:00
Mark Nelson
ba12c4d42b Fixed group mode 2015-03-13 23:37:06 -07:00
Mark Nelson
a61997b2aa Check course time using new logging API 2015-03-13 23:37:06 -07:00
Mark Nelson
7a2675e889 Moved internal functions to locallib.php 2015-03-13 23:37:06 -07:00
Mark Nelson
5203d81980 Changed PHPDocs and added date to the copyright to match Moodle coding guidelines 2013-07-22 13:06:18 +08:00
Mark Nelson
59ea1afd75 Removed unnecessary second parameter for the render function 2013-06-06 11:14:06 +08:00
Mark Nelson
60ba77d562 Removed usages of deprecated function 2013-05-28 17:00:07 +08:00
Mark Nelson
a513ba8038 Added functionality to preview the custom certificate 2013-05-17 11:09:22 +08:00
Mark Nelson
d8677842d3 Used the moodle_url class rather than $CFG->wwwroot for links 2013-05-16 13:17:42 +08:00
Mark Nelson
47b79abf6c Added spacing around '=>' 2013-04-26 16:41:08 +08:00
Mark Nelson
9e36732d5f Updated package and removed subpackage from PHPDocs 2013-04-26 15:39:59 +08:00
Mark Nelson
7ce63bbca0 Included the TCPDF_COLORS file when viewing a customcert 2013-04-11 18:50:44 +08:00
Mark Nelson
7451ab20ba Introduced the function responsible for generating the PDF 2013-04-11 16:59:29 +08:00
Mark Nelson
31168708bb Added a view.php file 2013-04-09 17:31:36 +08:00