diff --git a/scripts/langindex.json b/scripts/langindex.json
index 093646fcf..b269f6b62 100644
--- a/scripts/langindex.json
+++ b/scripts/langindex.json
@@ -2255,6 +2255,7 @@
"core.user.participants": "moodle",
"core.user.phone1": "moodle",
"core.user.phone2": "moodle",
+ "core.user.profile": "moodle",
"core.user.roles": "moodle",
"core.user.sendemail": "local_moodlemobileapp",
"core.user.student": "moodle/defaultcoursestudent",
diff --git a/src/core/features/login/components/sites/sites.html b/src/core/features/login/components/sites/sites.html
index 20ee59b87..5cf1c7fae 100644
--- a/src/core/features/login/components/sites/sites.html
+++ b/src/core/features/login/components/sites/sites.html
@@ -26,7 +26,8 @@
{{ accountsList.currentSite.siteUrl }} +
{{ + accountsList.currentSite.siteUrlWithoutProtocol }}
@@ -52,7 +53,7 @@{{ sites[0].siteUrlWithoutProtocol }}
diff --git a/src/core/features/login/pages/sites/sites.html b/src/core/features/login/pages/sites/sites.html index b9d3ed2b7..a47a65f2f 100644 --- a/src/core/features/login/pages/sites/sites.html +++ b/src/core/features/login/pages/sites/sites.html @@ -26,7 +26,7 @@{{ sites[0].siteUrlWithoutProtocol }}
diff --git a/src/core/features/login/services/login-helper.ts b/src/core/features/login/services/login-helper.ts index 545898b2b..627547671 100644 --- a/src/core/features/login/services/login-helper.ts +++ b/src/core/features/login/services/login-helper.ts @@ -1357,25 +1357,23 @@ export class CoreLoginHelperProvider { const index = sites.findIndex((site) => site.id == currentSiteId); accountsList.currentSite = sites.splice(index, 1)[0]; - siteUrl = accountsList.currentSite.siteUrl.replace(/^https?:\/\//, '').toLowerCase(); - accountsList.currentSite.siteUrl = siteUrl; + siteUrl = accountsList.currentSite.siteUrlWithoutProtocol; } const otherSites: Record{{ 'core.user.details' | translate }}
+{{ 'core.user.profile' | translate }}
{{ handler.title | translate }}
{{ 'core.settings.preferences' | translate }}
@@ -70,8 +57,8 @@{{ site.fullName }}
-{{ site.siteUrl }}
+{{ site.siteUrlWithoutProtocol }}
{{ site.spaceUsage | coreBytesToSize }}
diff --git a/src/core/features/settings/pages/synchronization/synchronization.html b/src/core/features/settings/pages/synchronization/synchronization.html
index 625d67b88..31fe30857 100644
--- a/src/core/features/settings/pages/synchronization/synchronization.html
+++ b/src/core/features/settings/pages/synchronization/synchronization.html
@@ -37,7 +37,7 @@
{{ site.fullName }}
-{{ site.siteUrl }}
+{{ site.siteUrlWithoutProtocol }}
+
+