diff --git a/src/addons/calendar/pages/day/day.html b/src/addons/calendar/pages/day/day.html index 4ca58a438..9f4b23431 100644 --- a/src/addons/calendar/pages/day/day.html +++ b/src/addons/calendar/pages/day/day.html @@ -94,6 +94,7 @@ + {{ 'addon.calendar.newevent' | translate }} diff --git a/src/addons/calendar/pages/index/index.html b/src/addons/calendar/pages/index/index.html index b8d37ec78..1533cc434 100644 --- a/src/addons/calendar/pages/index/index.html +++ b/src/addons/calendar/pages/index/index.html @@ -50,6 +50,7 @@ + {{ 'addon.calendar.newevent' | translate }} diff --git a/src/addons/calendar/pages/list/list.html b/src/addons/calendar/pages/list/list.html index e26cfe323..9e64554e4 100644 --- a/src/addons/calendar/pages/list/list.html +++ b/src/addons/calendar/pages/list/list.html @@ -90,6 +90,7 @@ + {{ 'addon.calendar.newevent' | translate }} diff --git a/src/addons/messages/pages/discussion/discussion.html b/src/addons/messages/pages/discussion/discussion.html index cf6b37e40..6c5affb89 100644 --- a/src/addons/messages/pages/discussion/discussion.html +++ b/src/addons/messages/pages/discussion/discussion.html @@ -133,6 +133,7 @@ + {{ 'addon.messages.newmessages' | translate }} {{ newMessages }} diff --git a/src/addons/mod/data/components/index/addon-mod-data-index.html b/src/addons/mod/data/components/index/addon-mod-data-index.html index 807e08626..b52b2562a 100644 --- a/src/addons/mod/data/components/index/addon-mod-data-index.html +++ b/src/addons/mod/data/components/index/addon-mod-data-index.html @@ -154,5 +154,6 @@ + {{ 'addon.mod_data.addentries' | translate }} diff --git a/src/addons/mod/forum/components/index/index.html b/src/addons/mod/forum/components/index/index.html index b97db7da1..109f185e0 100644 --- a/src/addons/mod/forum/components/index/index.html +++ b/src/addons/mod/forum/components/index/index.html @@ -167,6 +167,7 @@ + {{ addDiscussionText }} diff --git a/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html b/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html index ce7de9aaf..159a1f2c7 100644 --- a/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html +++ b/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html @@ -109,6 +109,7 @@ + {{ 'addon.mod_glossary.addentry' | translate }} diff --git a/src/addons/mod/wiki/components/index/addon-mod-wiki-index.html b/src/addons/mod/wiki/components/index/addon-mod-wiki-index.html index 9d98ca31b..c28ec94d6 100644 --- a/src/addons/mod/wiki/components/index/addon-mod-wiki-index.html +++ b/src/addons/mod/wiki/components/index/addon-mod-wiki-index.html @@ -97,5 +97,6 @@ + {{ 'addon.mod_wiki.createpage' | translate }} diff --git a/src/addons/notes/pages/list/list.html b/src/addons/notes/pages/list/list.html index 4556b4a8f..b643fd01c 100644 --- a/src/addons/notes/pages/list/list.html +++ b/src/addons/notes/pages/list/list.html @@ -99,6 +99,7 @@ + {{ 'addon.notes.addnewnote' | translate }} diff --git a/src/addons/privatefiles/pages/index/index.html b/src/addons/privatefiles/pages/index/index.html index 7b932984f..d0550c4b7 100644 --- a/src/addons/privatefiles/pages/index/index.html +++ b/src/addons/privatefiles/pages/index/index.html @@ -52,6 +52,7 @@ + {{ 'core.fileuploader.uploadafile' | translate }} diff --git a/src/core/features/h5p/services/h5p.ts b/src/core/features/h5p/services/h5p.ts index 7bf8cf078..f4d9b27ac 100644 --- a/src/core/features/h5p/services/h5p.ts +++ b/src/core/features/h5p/services/h5p.ts @@ -196,7 +196,7 @@ export class CoreH5PProvider { isOfflineDisabledInSite(site?: CoreSite): boolean { site = site || CoreSites.getCurrentSite(); - return !!(site?.isFeatureDisabled('NoDelegate_H5POffline')); + return !!(site?.isOfflineDisabled() || site?.isFeatureDisabled('NoDelegate_H5POffline')); } /** diff --git a/src/core/features/login/pages/sites/sites.html b/src/core/features/login/pages/sites/sites.html index b373216e3..704daedff 100644 --- a/src/core/features/login/pages/sites/sites.html +++ b/src/core/features/login/pages/sites/sites.html @@ -42,6 +42,7 @@ + {{ 'core.add' | translate }}