MOBILE-3657 workshop: Title mentions received assessments in close phase

main
Pau Ferrer Ocaña 2021-04-23 14:20:50 +02:00
parent b037c96b0b
commit 8a5ea5e76f
3 changed files with 20 additions and 6 deletions

View File

@ -1013,6 +1013,7 @@
"addon.mod_workshop.yourassessmentfor": "workshop", "addon.mod_workshop.yourassessmentfor": "workshop",
"addon.mod_workshop.yourgrades": "workshop", "addon.mod_workshop.yourgrades": "workshop",
"addon.mod_workshop.yoursubmission": "workshop", "addon.mod_workshop.yoursubmission": "workshop",
"addon.mod_workshop.yoursubmissionwithassessments": "workshop",
"addon.mod_workshop_assessment_accumulative.dimensioncommentfor": "workshopform_accumulative", "addon.mod_workshop_assessment_accumulative.dimensioncommentfor": "workshopform_accumulative",
"addon.mod_workshop_assessment_accumulative.dimensiongradefor": "workshopform_accumulative", "addon.mod_workshop_assessment_accumulative.dimensiongradefor": "workshopform_accumulative",
"addon.mod_workshop_assessment_accumulative.dimensionnumber": "workshopform_accumulative", "addon.mod_workshop_assessment_accumulative.dimensionnumber": "workshopform_accumulative",
@ -1468,6 +1469,9 @@
"core.coursenogroups": "local_moodlemobileapp", "core.coursenogroups": "local_moodlemobileapp",
"core.courses.addtofavourites": "block_myoverview", "core.courses.addtofavourites": "block_myoverview",
"core.courses.allowguests": "enrol_guest", "core.courses.allowguests": "enrol_guest",
"core.courses.aria:coursename": "course",
"core.courses.aria:courseprogress": "block_myoverview",
"core.courses.aria:favourite": "course",
"core.courses.availablecourses": "moodle", "core.courses.availablecourses": "moodle",
"core.courses.cannotretrievemorecategories": "local_moodlemobileapp", "core.courses.cannotretrievemorecategories": "local_moodlemobileapp",
"core.courses.categories": "moodle", "core.courses.categories": "moodle",
@ -1480,6 +1484,7 @@
"core.courses.errorloadplugins": "local_moodlemobileapp", "core.courses.errorloadplugins": "local_moodlemobileapp",
"core.courses.errorsearching": "local_moodlemobileapp", "core.courses.errorsearching": "local_moodlemobileapp",
"core.courses.errorselfenrol": "local_moodlemobileapp", "core.courses.errorselfenrol": "local_moodlemobileapp",
"core.courses.favourite": "course",
"core.courses.filtermycourses": "local_moodlemobileapp", "core.courses.filtermycourses": "local_moodlemobileapp",
"core.courses.frontpage": "admin", "core.courses.frontpage": "admin",
"core.courses.hidecourse": "block_myoverview", "core.courses.hidecourse": "block_myoverview",
@ -1859,8 +1864,10 @@
"core.lostconnection": "local_moodlemobileapp", "core.lostconnection": "local_moodlemobileapp",
"core.mainmenu.changesite": "local_moodlemobileapp", "core.mainmenu.changesite": "local_moodlemobileapp",
"core.mainmenu.help": "moodle", "core.mainmenu.help": "moodle",
"core.mainmenu.home": "moodle",
"core.mainmenu.logout": "moodle", "core.mainmenu.logout": "moodle",
"core.mainmenu.website": "local_moodlemobileapp", "core.mainmenu.website": "local_moodlemobileapp",
"core.maxfilesize": "moodle",
"core.maxsizeandattachments": "moodle", "core.maxsizeandattachments": "moodle",
"core.min": "moodle", "core.min": "moodle",
"core.mins": "moodle", "core.mins": "moodle",
@ -1944,8 +1951,8 @@
"core.question.certainty": "qbehaviour_deferredcbm", "core.question.certainty": "qbehaviour_deferredcbm",
"core.question.complete": "question", "core.question.complete": "question",
"core.question.correct": "question", "core.question.correct": "question",
"core.question.errorattachmentsnotsupported": "local_moodlemobileapp", "core.question.errorattachmentsnotsupportedinsite": "local_moodlemobileapp",
"core.question.errorinlinefilesnotsupported": "local_moodlemobileapp", "core.question.errorembeddedfilesnotsupportedinsite": "local_moodlemobileapp",
"core.question.errorquestionnotsupported": "local_moodlemobileapp", "core.question.errorquestionnotsupported": "local_moodlemobileapp",
"core.question.feedback": "question", "core.question.feedback": "question",
"core.question.howtodraganddrop": "local_moodlemobileapp", "core.question.howtodraganddrop": "local_moodlemobileapp",
@ -2000,9 +2007,10 @@
"core.settings.cannotsyncoffline": "local_moodlemobileapp", "core.settings.cannotsyncoffline": "local_moodlemobileapp",
"core.settings.cannotsyncwithoutwifi": "local_moodlemobileapp", "core.settings.cannotsyncwithoutwifi": "local_moodlemobileapp",
"core.settings.colorscheme": "local_moodlemobileapp", "core.settings.colorscheme": "local_moodlemobileapp",
"core.settings.colorscheme-auto": "local_moodlemobileapp",
"core.settings.colorscheme-dark": "local_moodlemobileapp", "core.settings.colorscheme-dark": "local_moodlemobileapp",
"core.settings.colorscheme-light": "local_moodlemobileapp", "core.settings.colorscheme-light": "local_moodlemobileapp",
"core.settings.colorscheme-system": "local_moodlemobileapp",
"core.settings.colorscheme-system-notice": "local_moodlemobileapp",
"core.settings.compilationinfo": "local_moodlemobileapp", "core.settings.compilationinfo": "local_moodlemobileapp",
"core.settings.copyinfo": "local_moodlemobileapp", "core.settings.copyinfo": "local_moodlemobileapp",
"core.settings.cordovadevicemodel": "local_moodlemobileapp", "core.settings.cordovadevicemodel": "local_moodlemobileapp",

View File

@ -127,7 +127,12 @@
<ng-container *ngIf="submission"> <ng-container *ngIf="submission">
<ion-item-divider class="ion-text-wrap"> <ion-item-divider class="ion-text-wrap">
<ion-label><h2>{{ 'addon.mod_workshop.yoursubmission' | translate }}</h2></ion-label> <ion-label>
<h2 *ngIf="workshop!.phase != PHASE_CLOSED">{{ 'addon.mod_workshop.yoursubmission' | translate }}</h2>
<h2 *ngIf="workshop!.phase == PHASE_CLOSED">
{{ 'addon.mod_workshop.yoursubmissionwithassessments' | translate }}
</h2>
</ion-label>
</ion-item-divider> </ion-item-divider>
<addon-mod-workshop-submission [submission]="submission" [courseId]="workshop!.course" [module]="module" <addon-mod-workshop-submission [submission]="submission" [courseId]="workshop!.course" [module]="module"
[workshop]="workshop" [access]="access"> [workshop]="workshop" [access]="access">

View File

@ -59,5 +59,6 @@
"yourassessment": "Your assessment", "yourassessment": "Your assessment",
"yourassessmentfor": "Your assessment for {{$a}}", "yourassessmentfor": "Your assessment for {{$a}}",
"yourgrades": "Your grades", "yourgrades": "Your grades",
"yoursubmission": "Your submission" "yoursubmission": "Your submission",
} "yoursubmissionwithassessments": "Your submission with assessments"
}