Removes the logic in the course reports related to storing the last
accessed course report in a session variable as this behaviour is
no longer required.
Provide page for the reports in the course administration.
The page has a drop down to navigate to different reports.
The navigation is remembered just like the grade reports in
the course.
Signed-off-by: Sujith Haridasan <sujith@moodle.com>
This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.
Since the class has only just been added to Moodle, now is a good
time to move it.
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
- Icon generation logic moved to the course renderer.
- Web service should return the completion info only, not HTML.
- JS modified to handle icon rendering in relevant cases.
- Fixed aria-roles for links acting as status override buttons
- Used custom_interaction_events for better activation handling
- Replaced core/notification with AMD modal which facilitates better
onhide focus control when cancelling or confirming the action.
AMOS BEGIN
MOV [participation:view,coursereport_participation],[participation:view,report_participation]
MOV [pluginpagetype,coursereport_participation],[pluginpagetype,report_participation]
MOV [pluginname,coursereport_participation],[pluginname,report_participation]
AMOS END
AMOS BEGIN
MOV [pluginname,coursereport_progress],[pluginname,report_progress]
MOV [pluginpagetype,coursereport_progress],[pluginpagetype,report_progress]
MOV [progress:view,coursereport_progress],[progress:view,report_progress]
AMOS END