MOBILE-4203 user: Display timezone in user profile

main
Dani Palou 2023-03-03 09:39:24 +01:00
parent 7cd9f6172c
commit f8f5fbc564
3 changed files with 15 additions and 7 deletions

View File

@ -1652,13 +1652,6 @@
"core.courses.totalcoursesearchresults": "local_moodlemobileapp",
"core.currentdevice": "local_moodlemobileapp",
"core.custom": "form",
"core.reportbuilder.modifiedby": "tool_reportbuilder",
"core.reportbuilder.reports": "moodle",
"core.reportbuilder.reportsource": "moodle",
"core.reportbuilder.timecreated": "moodle",
"core.reportbuilder.filtersapplied": "local_moodlemobileapp",
"core.reportbuilder.showcolumns": "local_moodlemobileapp",
"core.reportbuilder.hidecolumns": "local_moodlemobileapp",
"core.datastoredoffline": "local_moodlemobileapp",
"core.date": "moodle",
"core.datecreated": "repository",
@ -2192,6 +2185,13 @@
"core.reminders.value": "local_moodlemobileapp",
"core.remove": "moodle",
"core.removefiles": "local_moodlemobileapp",
"core.reportbuilder.filtersapplied": "local_moodlemobileapp",
"core.reportbuilder.hidecolumns": "local_moodlemobileapp",
"core.reportbuilder.modifiedby": "tool_reportbuilder",
"core.reportbuilder.reports": "moodle",
"core.reportbuilder.reportsource": "reportbuilder",
"core.reportbuilder.showcolumns": "local_moodlemobileapp",
"core.reportbuilder.timecreated": "moodle",
"core.required": "moodle",
"core.requireduserdatamissing": "local_moodlemobileapp",
"core.resourcedisplayopen": "moodle",
@ -2371,6 +2371,7 @@
"core.thisdirection": "langconfig",
"core.time": "moodle",
"core.timesup": "quiz",
"core.timezone": "moodle",
"core.today": "moodle",
"core.toggledelete": "local_moodlemobileapp",
"core.tryagain": "local_moodlemobileapp",

View File

@ -79,6 +79,12 @@
<p>{{ user.country }}</p>
</ion-label>
</ion-item>
<ion-item class="ion-text-wrap" *ngIf="user.timezone">
<ion-label>
<p class="item-heading">{{ 'core.timezone' | translate}}</p>
<p>{{ user.timezone }}</p>
</ion-label>
</ion-item>
</ion-item-group>
<ion-item-group *ngIf="hasDetails">
<ion-item-divider>

View File

@ -324,6 +324,7 @@
"thisdirection": "ltr",
"time": "Time",
"timesup": "Time is up!",
"timezone": "Timezone",
"today": "Today",
"toggledelete": "Toggle delete buttons",
"tryagain": "Try again",