diff --git a/classes/output/mobile.php b/classes/output/mobile.php index 4a2cd161..4dbf2e7d 100644 --- a/classes/output/mobile.php +++ b/classes/output/mobile.php @@ -78,6 +78,7 @@ public static function mobile_course_view($args) { 'option_audio' => $optionaudio, 'cmid' => $cm->id, 'courseid' => $args->courseid, + 'canusemoduleinfo' => $args->appversioncode >= 44000, ]; return [ diff --git a/templates/mobile_view_page_latest.mustache b/templates/mobile_view_page_latest.mustache index 6f96df6b..e513a14d 100644 --- a/templates/mobile_view_page_latest.mustache +++ b/templates/mobile_view_page_latest.mustache @@ -47,7 +47,13 @@ }} {{=<% %>=}}
- + <%#canusemoduleinfo%> + + + <%/canusemoduleinfo%> + <%^canusemoduleinfo%> + + <%/canusemoduleinfo%> <%#available%>