Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile app: Remove ionic3 template #604

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
env:
DB: ${{ matrix.database }}
MOODLE_BRANCH: ${{ matrix.moodle-branch }}
MUSTACHE_IGNORE_NAMES: 'mobile_view_page_latest.mustache,mobile_view_page_ionic3.mustache'
MUSTACHE_IGNORE_NAMES: 'mobile_view_page_latest.mustache'
# Uncomment this to run Behat tests using the Moodle App.
# MOODLE_APP: 'true'

Expand Down
3 changes: 1 addition & 2 deletions classes/output/mobile.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public static function mobile_course_view($args) {
global $OUTPUT, $DB;

$args = (object) $args;
$versionname = $args->appversioncode >= 3950 ? 'latest' : 'ionic3';
$cm = get_coursemodule_from_id('zoom', $args->cmid);

// Capabilities check.
Expand Down Expand Up @@ -84,7 +83,7 @@ public static function mobile_course_view($args) {
'templates' => [
[
'id' => 'main',
'html' => $OUTPUT->render_from_template("mod_zoom/mobile_view_page_$versionname", $data),
'html' => $OUTPUT->render_from_template('mod_zoom/mobile_view_page_latest', $data),
],
],
'javascript' => "this.loadMeeting = function(result) { window.open(result.joinurl, '_system'); };",
Expand Down
118 changes: 0 additions & 118 deletions templates/mobile_view_page_ionic3.mustache

This file was deleted.