Skip to content

Commit 5ce9536

Browse files
committed
ci: use recommended mobileapp template folder
1 parent f4a887f commit 5ce9536

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
services:
1010
postgres:
11-
image: postgres:15
11+
image: postgres:16
1212
env:
1313
POSTGRES_USER: 'postgres'
1414
POSTGRES_HOST_AUTH_METHOD: 'trust'
@@ -90,7 +90,6 @@ jobs:
9090
env:
9191
DB: ${{ matrix.database }}
9292
MOODLE_BRANCH: ${{ matrix.moodle-branch }}
93-
MUSTACHE_IGNORE_NAMES: 'mobile_view_page_latest.mustache,mobile_view_page_ionic3.mustache'
9493
# Uncomment this to run Behat tests using the Moodle App.
9594
# MOODLE_APP: 'true'
9695

@@ -140,7 +139,7 @@ jobs:
140139
- name: Behat features
141140
id: behat
142141
if: ${{ !cancelled() && steps.install_ci.outcome == 'success' }}
143-
run: moodle-plugin-ci behat --profile chrome
142+
run: moodle-plugin-ci behat --profile chrome --scss-deprecations
144143

145144
- name: Upload Behat Faildump
146145
if: ${{ failure() && steps.behat.outcome == 'failure' }}

classes/output/mobile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static function mobile_course_view($args) {
8585
'templates' => [
8686
[
8787
'id' => 'main',
88-
'html' => $OUTPUT->render_from_template("mod_zoom/mobile_view_page_$versionname", $data),
88+
'html' => $OUTPUT->render_from_template("mod_zoom/mobileapp/view_page_$versionname", $data),
8989
],
9090
],
9191
'javascript' => "this.loadMeeting = function(result) { window.open(result.joinurl, '_system'); };",

templates/mobile_view_page_ionic3.mustache renamed to templates/mobileapp/view_page_ionic3.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1616
}}
1717
{{!
18-
@template mod_zoom/mobile_view_page_ionic3
18+
@template mod_zoom/mobileapp/view_page_ionic3
1919
2020
Page to view a zoom meeting
2121

templates/mobile_view_page_latest.mustache renamed to templates/mobileapp/view_page_latest.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1616
}}
1717
{{!
18-
@template mod_zoom/mobile_view_page_latest
18+
@template mod_zoom/mobileapp/view_page_latest
1919
2020
Page to view a zoom meeting
2121

0 commit comments

Comments
 (0)