Skip to content

Commit 357c18f

Browse files
authored
Merge pull request #2272 from crazyserver/MOBILE-3325
Mobile 3325
2 parents 9b1144a + ebfec71 commit 357c18f

File tree

39 files changed

+585
-226
lines changed

39 files changed

+585
-226
lines changed

scripts/langindex.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,6 @@
17601760
"core.login.visitchangepassword": "local_moodlemobileapp",
17611761
"core.login.webservicesnotenabled": "local_moodlemobileapp",
17621762
"core.lostconnection": "local_moodlemobileapp",
1763-
"core.mainmenu.appsettings": "local_moodlemobileapp",
17641763
"core.mainmenu.changesite": "local_moodlemobileapp",
17651764
"core.mainmenu.help": "moodle",
17661765
"core.mainmenu.logout": "moodle",
@@ -1891,6 +1890,7 @@
18911890
"core.sending": "chat",
18921891
"core.serverconnection": "error",
18931892
"core.settings.about": "local_moodlemobileapp",
1893+
"core.settings.appsettings": "local_moodlemobileapp",
18941894
"core.settings.appversion": "local_moodlemobileapp",
18951895
"core.settings.cannotsyncoffline": "local_moodlemobileapp",
18961896
"core.settings.cannotsyncwithoutwifi": "local_moodlemobileapp",
@@ -1941,6 +1941,7 @@
19411941
"core.settings.navigatoruseragent": "local_moodlemobileapp",
19421942
"core.settings.networkstatus": "local_moodlemobileapp",
19431943
"core.settings.opensourcelicenses": "local_moodlemobileapp",
1944+
"core.settings.preferences": "moodle",
19441945
"core.settings.privacypolicy": "local_moodlemobileapp",
19451946
"core.settings.publisher": "local_moodlemobileapp",
19461947
"core.settings.pushid": "local_moodlemobileapp",
@@ -1951,8 +1952,10 @@
19511952
"core.settings.siteinfo": "local_moodlemobileapp",
19521953
"core.settings.sites": "moodle",
19531954
"core.settings.spaceusage": "local_moodlemobileapp",
1955+
"core.settings.spaceusagehelp": "local_moodlemobileapp",
19541956
"core.settings.synchronization": "local_moodlemobileapp",
19551957
"core.settings.synchronizenow": "local_moodlemobileapp",
1958+
"core.settings.synchronizenowhelp": "local_moodlemobileapp",
19561959
"core.settings.syncsettings": "local_moodlemobileapp",
19571960
"core.settings.total": "moodle",
19581961
"core.settings.wificonnection": "local_moodlemobileapp",

src/addon/block/activitymodules/components/activitymodules/addon-block-activitymodules.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h2>{{ 'addon.block_activitymodules.pluginname' | translate }}</h2>
33
</ion-item-divider>
44
<core-loading [hideUntil]="loaded" class="core-loading-center">
5-
<a ion-item text-wrap *ngFor="let entry of entries" class="item-media" detail-none [navPush]="'CoreCourseListModTypePage'" [navParams]="{title: entry.name, courseId: instanceId, modName: entry.modName}">
5+
<a ion-item text-wrap *ngFor="let entry of entries" class="item-media" detail-none navPush="CoreCourseListModTypePage" [navParams]="{title: entry.name, courseId: instanceId, modName: entry.modName}">
66
<img item-start [src]="entry.icon" alt="" role="presentation" class="core-module-icon">
77
{{ entry.name }}
88
</a>

src/addon/files/pages/list/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<!-- List of files. -->
2424
<ion-list *ngIf="files && files.length > 0">
2525
<ng-container *ngFor="let file of files">
26-
<a *ngIf="file.isdir" ion-item class="item-media" [navPush]="'AddonFilesListPage'" [navParams]="{path: file.link, title: file.filename}">
26+
<a *ngIf="file.isdir" ion-item class="item-media" navPush="AddonFilesListPage" [navParams]="{path: file.link, title: file.filename}">
2727
<img [src]="file.imgPath" alt="" role="presentation" item-start>
2828
<p>{{file.filename}}</p>
2929
</a>

src/addon/messages/pages/settings/settings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<ion-header>
22
<ion-navbar core-back-button>
3-
<ion-title>{{ 'addon.messages.messagepreferences' | translate }}</ion-title>
3+
<ion-title>{{ 'addon.messages.messages' | translate }}</ion-title>
44
</ion-navbar>
55
</ion-header>
66
<ion-content>

src/addon/messages/providers/settings-handler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ export class AddonMessagesSettingsHandler implements CoreSettingsHandler {
4444
getDisplayData(): CoreSettingsHandlerData {
4545
return {
4646
icon: 'chatbubbles',
47-
title: 'addon.messages.messagepreferences',
47+
title: 'addon.messages.messages',
4848
page: 'AddonMessagesSettingsPage',
49-
class: 'addon-messages-settings-handler'
49+
class: 'addon-messages-settings-handler',
5050
};
5151
}
5252

src/addon/mod/folder/components/index/addon-mod-folder-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<ion-list *ngIf="contents && contents.length > 0">
1919
<ng-container *ngFor="let file of contents">
20-
<a *ngIf="file.type === 'folder'" ion-item class="item-media" [navPush]="'AddonModFolderIndexPage'" [navParams]="{path: file.filepath, courseId: courseId, module: file}">
20+
<a *ngIf="file.type === 'folder'" ion-item class="item-media" navPush="AddonModFolderIndexPage" [navParams]="{path: file.filepath, courseId: courseId, module: file}">
2121
<ion-icon name="folder" item-start></ion-icon>
2222
<h2>{{file.name}}</h2>
2323
</a>

src/addon/mod/lesson/components/index/addon-mod-lesson-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
{{ 'addon.mod_lesson.overview' | translate }}
245245
</ion-card-header>
246246

247-
<a ion-item text-wrap *ngFor="let student of overview.students" [navPush]="'AddonModLessonUserRetakePage'" [navParams]="{courseId: courseId, lessonId: lesson.id, userId: student.id}">
247+
<a ion-item text-wrap *ngFor="let student of overview.students" navPush="AddonModLessonUserRetakePage" [navParams]="{courseId: courseId, lessonId: lesson.id, userId: student.id}">
248248
<ion-avatar core-user-avatar [user]="student" item-start [userId]="student.id" [courseId]="courseId"></ion-avatar>
249249
<h2>{{ student.fullname }}</h2>
250250
<core-progress-bar [progress]="student.bestgrade"></core-progress-bar>

src/addon/mod/quiz/components/index/addon-mod-quiz-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h2>{{ 'addon.mod_quiz.summaryofattempts' | translate }}</h2>
5252
</ion-row>
5353
</ion-item>
5454
<!-- List of attempts. -->
55-
<a ion-item text-wrap *ngFor="let attempt of attempts" [ngClass]='{"addon-mod_quiz-highlighted core-white-push-arrow": attempt.highlightGrade}' [navPush]="'AddonModQuizAttemptPage'" [navParams]="{courseId: courseId, quizId: quiz.id, attemptId: attempt.id}" [attr.aria-label]="'core.seemoredetail' | translate">
55+
<a ion-item text-wrap *ngFor="let attempt of attempts" [ngClass]='{"addon-mod_quiz-highlighted core-white-push-arrow": attempt.highlightGrade}' navPush="AddonModQuizAttemptPage" [navParams]="{courseId: courseId, quizId: quiz.id, attemptId: attempt.id}" [attr.aria-label]="'core.seemoredetail' | translate">
5656
<ion-row align-items-center>
5757
<ion-col text-center *ngIf="quiz.showAttemptColumn && attempt.preview">{{ 'addon.mod_quiz.preview' | translate }}</ion-col>
5858
<ion-col text-center *ngIf="quiz.showAttemptColumn && !attempt.preview">{{ attempt.attempt }}</ion-col>

src/addon/mod/quiz/pages/attempt/attempt.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h2>{{ 'addon.mod_quiz.feedback' | translate }}</h2>
3131
<p><core-format-text [component]="component" [componentId]="componentId" [text]="attempt.feedback" contextLevel="module" [contextInstanceId]="quiz.coursemodule" [courseId]="courseId"></core-format-text></p>
3232
</ion-item>
3333
<ion-item *ngIf="quiz.showReviewColumn && attempt.finished">
34-
<button ion-button block icon-start [navPush]="'AddonModQuizReviewPage'" [navParams]="{courseId: courseId, quizId: quiz.id, attemptId: attempt.id}">
34+
<button ion-button block icon-start navPush="AddonModQuizReviewPage" [navParams]="{courseId: courseId, quizId: quiz.id, attemptId: attempt.id}">
3535
<ion-icon name="search"></ion-icon>
3636
{{ 'addon.mod_quiz.review' | translate }}
3737
</button>

src/addon/notifications/pages/settings/settings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<ion-header>
22
<ion-navbar core-back-button>
3-
<ion-title>{{ 'addon.notifications.notificationpreferences' | translate }}</ion-title>
3+
<ion-title>{{ 'addon.notifications.notifications' | translate }}</ion-title>
44
<ion-buttons end>
55
</ion-buttons>
66
</ion-navbar>

0 commit comments

Comments
 (0)