{{ title | translate }}
-
-
-
+@if (showSiteName && siteName) {
+ @switch (siteNameMode) {
+ @case ('p') {
+
+
+
+
+ }
+ }
+}
diff --git a/src/core/components/site-picker/core-site-picker.html b/src/core/components/site-picker/core-site-picker.html
index f6ed756fca9..31cfa0a6c2c 100644
--- a/src/core/components/site-picker/core-site-picker.html
+++ b/src/core/components/site-picker/core-site-picker.html
@@ -1,6 +1,10 @@
-
-
-
-
-
+
+
+ @if (displaySiteUrl(site)) {
+
+ }
+
{{site.fullname}}
-
+ @if (siteLabelTemplate) {
+
+ }
-
+ @if (siteItemTemplate) {
+
+ }
diff --git a/src/core/components/swipe-slides/swipe-slides.html b/src/core/components/swipe-slides/swipe-slides.html
index aeeff91a2eb..082ef200dec 100644
--- a/src/core/components/swipe-slides/swipe-slides.html
+++ b/src/core/components/swipe-slides/swipe-slides.html
@@ -1,6 +1,11 @@
-
-
-
-
-
+@if (loaded) {
+
+ @for (item of items; track manager?.getSource().getItemId(item); let index = $index) {
+
+ @if (template) {
+
+ }
+
+ }
+
+}
diff --git a/src/core/components/tabs-outlet/core-tabs-outlet.html b/src/core/components/tabs-outlet/core-tabs-outlet.html
index 547935bf55f..d7a85bfbb45 100644
--- a/src/core/components/tabs-outlet/core-tabs-outlet.html
+++ b/src/core/components/tabs-outlet/core-tabs-outlet.html
@@ -1,37 +1,48 @@
diff --git a/src/core/components/tabs-outlet/tabs-outlet.ts b/src/core/components/tabs-outlet/tabs-outlet.ts
index fd9dce45de7..110d4dfa09f 100644
--- a/src/core/components/tabs-outlet/tabs-outlet.ts
+++ b/src/core/components/tabs-outlet/tabs-outlet.ts
@@ -51,14 +51,20 @@ import { CorePath } from '@singletons/path';
templateUrl: 'core-tabs-outlet.html',
styleUrl: '../tabs/tabs.scss',
})
-export class CoreTabsOutletComponent extends CoreTabsBaseComponent
+export class CoreTabsOutletComponent extends CoreTabsBaseComponent
implements AfterViewInit, OnChanges, OnDestroy {
/**
* Determine tabs layout.
*/
@Input() layout: 'icon-top' | 'icon-start' | 'icon-end' | 'icon-bottom' | 'icon-hide' | 'label-hide' = 'icon-hide';
- @Input() tabs: CoreTabsOutletTab[] = [];
+ @Input({ transform: (tabs?: CoreTabsOutletTab[]): CoreTabsOutletTabWithId[] => {
+ if (!tabs) {
+ return [];
+ }
+
+ return tabs.map((tab) => CoreTabsOutletComponent.formatTab(tab));
+ } }) tabs: CoreTabsOutletTabWithId[] = [];
@ViewChild(IonTabs) protected ionTabs!: IonTabs;
@@ -69,12 +75,16 @@ export class CoreTabsOutletComponent extends CoreTabsBaseComponent): void {
if (changes.tabs) {
- this.tabs.forEach((tab) => {
- this.initTab(tab);
- });
-
this.calculateSlides();
}
@@ -168,7 +174,7 @@ export class CoreTabsOutletComponent extends CoreTabsBaseComponent tab.page === currentPath);
@@ -236,3 +242,5 @@ export type CoreTabsOutletTab = CoreTabBase & {
page: string; // Page to navigate to.
pageParams?: Params; // Page params.
};
+
+export type CoreTabsOutletTabWithId = Omit & { id: string };
diff --git a/src/core/components/tabs/core-tabs.html b/src/core/components/tabs/core-tabs.html
index 9c97fcaca53..b0244895dac 100644
--- a/src/core/components/tabs/core-tabs.html
+++ b/src/core/components/tabs/core-tabs.html
@@ -1,36 +1,50 @@
-
-
+ @if (!hideUntil) {
+
+ } @else {
+
-
+ @if (showPrevButton) {
+
+ }
-
-
-
-
- {{ tab.title | translate}}
-
- {{ tab.badge }}
-
- {{ tab.badgeA11yText | translate: {$a : tab.badge } }}
-
-
-
-
-
-
-
+ @for (tab of tabs; track tab.id) {
+ @if (tab.enabled) {
+
+
+ @if (tab.icon) {
+
+ {{ tab.title | translate}}
+ @if (tab.badge) {
+
+ {{ tab.badge }}
+ @if (tab.badgeA11yText) {
+
+ {{ tab.badgeA11yText | translate: {$a : tab.badge } }}
+
+ }
+
+ }
+
+
+
+ }
+
+ }
+ }
-
-
+ @if (showNextButton) {
+
+ }
+
+ }
diff --git a/src/core/components/tabs/tab.ts b/src/core/components/tabs/tab.ts
index b88dd6169cc..91b81406076 100644
--- a/src/core/components/tabs/tab.ts
+++ b/src/core/components/tabs/tab.ts
@@ -41,7 +41,7 @@ import { CoreTabsComponent } from './tabs';
*/
@Component({
selector: 'core-tab',
- template: ' ',
+ template: '@if (loaded && template) { }',
})
export class CoreTabComponent implements OnInit, OnDestroy, CoreTabBase {
diff --git a/src/core/components/timer/core-timer.html b/src/core/components/timer/core-timer.html
index 705d12f014b..d4f0aad3cc0 100644
--- a/src/core/components/timer/core-timer.html
+++ b/src/core/components/timer/core-timer.html
@@ -1,32 +1,49 @@
-
-
-
-
-
-
+@if (timeLeft !== undefined) {
-
-
-
+ @if (mode !== modeBasic) {
+
+
+
+
+
+ } @else {
+
+
+
+ }
- 0">
+ @if (timeLeft > 0) {
+
- {{ timerText }}
-
- {{ timeLeft | coreSecondsToHMS }}
-
+ @if (timerText) {
+ {{ timerText }}
+ }
+ @if (showTimeLeft) {
+
+ {{ timeLeft | coreSecondsToHMS }}
+
+ }
-
- (
- )
+ @if (hidable) {
+
+ ( @if (showTimeLeft) {
+
+ } @else {
+
+ } )
+
+ }
+ } @else {
+
+ @if (timeUpText) {
+ {{ timeUpText }}
+ } @else {
+ {{ 'core.timesup' | translate }}
+ }
-
-
-
- {{ timeUpText }}
- {{ 'core.timesup' | translate }}
-
+ }
-
+
+}
diff --git a/src/core/components/user-avatar/core-user-avatar.html b/src/core/components/user-avatar/core-user-avatar.html
index 250dba9a92c..8e7b926a9aa 100644
--- a/src/core/components/user-avatar/core-user-avatar.html
+++ b/src/core/components/user-avatar/core-user-avatar.html
@@ -1,24 +1,33 @@
-
-
+@if (avatarUrl) {
-
-
-
-
-
+ @if (linkProfile) {
+
+ } @else {
+
+ }
-
-
-
+} @else if (!avatarUrl && initials) {
+
+ @if (linkProfile) {
+
+
+ } @else {
+
+ }
+
+} @else {
+
-
+}
-
-
+@if (checkOnline && isOnline()) {
+
+
+}
diff --git a/src/core/features/course/components/course-format/course-format.html b/src/core/features/course/components/course-format/course-format.html
index ecc0b6bb66a..1acf6e33573 100644
--- a/src/core/features/course/components/course-format/course-format.html
+++ b/src/core/features/course/components/course-format/course-format.html
@@ -27,11 +27,11 @@
@for (section of sections; track section.id) {
- @if ($index
+ @if ($index
<= lastShownSectionIndex && !section.hiddenbynumsections && section.id !==allSectionsId && section.id
!==stealthModulesSectionId) {
- }
+ [lastModuleViewed]="lastModuleViewed" [viewedModules]="viewedModules" [collapsible]="true" />
+ }
}
diff --git a/src/core/features/course/components/course-index/course-index.html b/src/core/features/course/components/course-index/course-index.html
index a9ef8818b2f..ea97392efba 100644
--- a/src/core/features/course/components/course-index/course-index.html
+++ b/src/core/features/course/components/course-index/course-index.html
@@ -64,31 +64,32 @@
@if (!isModule(modOrSubsection)) {
-
-
-
+
+
+
} @else {
-
-
-
-
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
}
+
diff --git a/src/core/features/course/components/course-section/course-section.html b/src/core/features/course/components/course-section/course-section.html
index bda52ec2045..b97378d357b 100644
--- a/src/core/features/course/components/course-section/course-section.html
+++ b/src/core/features/course/components/course-section/course-section.html
@@ -1,20 +1,20 @@
@if (collapsible) {
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
} @else {
-
-
-
-
+
+
+
+
}
@@ -59,12 +59,12 @@
@if (!isModule(modOrSubsection)) {
-
+
} @else {
-
}
diff --git a/src/core/features/course/components/module/core-course-module.html b/src/core/features/course/components/module/core-course-module.html
index 51da2cb313d..f85ab7b5317 100644
--- a/src/core/features/course/components/module/core-course-module.html
+++ b/src/core/features/course/components/module/core-course-module.html
@@ -14,11 +14,11 @@
@if (module.handlerData.action && module.uservisible) {
-
-
-
+
+
+
} @else {
-
+
}
@if (module.handlerData.action && module.uservisible) {
-
+
}
diff --git a/src/core/features/course/pages/index/index.html b/src/core/features/course/pages/index/index.html
index 4699bdada77..65acb6cef4c 100644
--- a/src/core/features/course/pages/index/index.html
+++ b/src/core/features/course/pages/index/index.html
@@ -11,17 +11,17 @@
@if (course?.format !== 'singleactivity') {
-
-
+
-
+
-
-
+
+
+
} @else {
-
-
-
+
+
+
}
diff --git a/src/core/features/course/pages/list-mod-type/list-mod-type.html b/src/core/features/course/pages/list-mod-type/list-mod-type.html
index ab5a61b1e9d..30ac6df2e8b 100644
--- a/src/core/features/course/pages/list-mod-type/list-mod-type.html
+++ b/src/core/features/course/pages/list-mod-type/list-mod-type.html
@@ -38,10 +38,10 @@
@if (isModule(modOrSubsection)) {
-
+
} @else {
-
+
}
diff --git a/src/core/features/login/components/identity-provider/identity-provider.html b/src/core/features/login/components/identity-provider/identity-provider.html
index 23c98b27aa0..484798fa1a6 100644
--- a/src/core/features/login/components/identity-provider/identity-provider.html
+++ b/src/core/features/login/components/identity-provider/identity-provider.html
@@ -1,7 +1,7 @@
@if (provider.iconurl) {
-
+
}
{{ provider.name }}
diff --git a/src/core/features/login/pages/reconnect/reconnect.html b/src/core/features/login/pages/reconnect/reconnect.html
index 1a682cefc73..5a1753abac2 100644
--- a/src/core/features/login/pages/reconnect/reconnect.html
+++ b/src/core/features/login/pages/reconnect/reconnect.html
@@ -52,25 +52,25 @@ {{ 'core.login.reconnect' | translate }}
@if (currentLogin && currentLogin.provider) {
-
- @if (currentLogin.showOther) {
-
-
-
-
- {{ 'core.login.morewaystologin' | translate }}
-
-
+
+ @if (currentLogin.showOther) {
+
+
+
+
+ {{ 'core.login.morewaystologin' | translate }}
+
+
-
-
-
-
-
- }
+
+
+
+
+
+ }
} @else {
-
+
}
diff --git a/src/core/features/settings/pages/dev/dev.html b/src/core/features/settings/pages/dev/dev.html
index abe5c2f73bd..bb3636496b6 100644
--- a/src/core/features/settings/pages/dev/dev.html
+++ b/src/core/features/settings/pages/dev/dev.html
@@ -98,9 +98,9 @@ {{ 'core.settings.developeroptions' | translate }}
Private token
@if (privateToken) {
- {{ privateToken }}
+ {{ privateToken }}
} @else {
- ---
+ ---
}
@@ -108,31 +108,31 @@ {{ 'core.settings.developeroptions' | translate }}
Files access key
@if (filesAccessKey) {
- {{ filesAccessKey }}
+ {{ filesAccessKey }}
} @else {
- ---
+ ---
}
@if (privateToken) {
-
-
- Minimum time between auto-login requests
- {{ autoLoginTimeBetweenRequests | coreDuration }}
-
-
-
-
- Last auto login in this device
- @if (lastAutoLoginTime && lastAutoLoginTime > 0) {
- {{ lastAutoLoginTime | coreTimeAgo }}
- This value will reset when the app is restarted.
- } @else {
- ---
- }
-
-
+
+
+ Minimum time between auto-login requests
+ {{ autoLoginTimeBetweenRequests | coreDuration }}
+
+
+
+
+ Last auto login in this device
+ @if (lastAutoLoginTime && lastAutoLoginTime > 0) {
+ {{ lastAutoLoginTime | coreTimeAgo }}
+ This value will reset when the app is restarted.
+ } @else {
+ ---
+ }
+
+
}
diff --git a/src/core/features/settings/pages/deviceinfo/deviceinfo.html b/src/core/features/settings/pages/deviceinfo/deviceinfo.html
index abe37a513ec..4ab4620b85b 100644
--- a/src/core/features/settings/pages/deviceinfo/deviceinfo.html
+++ b/src/core/features/settings/pages/deviceinfo/deviceinfo.html
@@ -104,9 +104,9 @@
{{ 'core.settings.networkstatus' | translate}}
@if (deviceInfo.isOnline) {
- {{ 'core.online' | translate }}
+ {{ 'core.online' | translate }}
} @else {
- {{ 'core.offline' | translate }}
+ {{ 'core.offline' | translate }}
}
diff --git a/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html b/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
index f7c968dd4d9..7af3fd3d59f 100644
--- a/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
+++ b/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
@@ -1,14 +1,14 @@
@if (!courseContentsPage) {
-
-
+
-
+
} @else {
-
+
-
-
+
+
+
}
diff --git a/src/core/features/viewer/components/image/image.html b/src/core/features/viewer/components/image/image.html
index d25fdff4a77..278e6df6dad 100644
--- a/src/core/features/viewer/components/image/image.html
+++ b/src/core/features/viewer/components/image/image.html
@@ -3,9 +3,9 @@
@if (dataUrl) {
-
+
} @else {
-
+
}
diff --git a/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html b/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
index f50e182bae3..1d7d412bb84 100644
--- a/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
+++ b/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
@@ -34,11 +34,11 @@
@for (theme of themes; track $index; let last = $last;) {
-
-
- Aa {{ 'core.viewer.readingtheme'+theme | translate }}
-
-
+
+
+ Aa {{ 'core.viewer.readingtheme'+theme | translate }}
+
+
}
{{site.fullname}}
-{{ tab.title | translate}}
-{{ tab.title | translate}}
+ @if (tab.badge) { +
@if (!isModule(modOrSubsection)) {
-
-
-
+
+
+
} @else {
-
-
-
-
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
}
+
diff --git a/src/core/features/course/components/course-section/course-section.html b/src/core/features/course/components/course-section/course-section.html
index bda52ec2045..b97378d357b 100644
--- a/src/core/features/course/components/course-section/course-section.html
+++ b/src/core/features/course/components/course-section/course-section.html
@@ -1,20 +1,20 @@
@if (collapsible) {
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
} @else {
-
-
-
-
+
+
+
+
}
@@ -59,12 +59,12 @@
@if (!isModule(modOrSubsection)) {
-
+
} @else {
-
}
diff --git a/src/core/features/course/components/module/core-course-module.html b/src/core/features/course/components/module/core-course-module.html
index 51da2cb313d..f85ab7b5317 100644
--- a/src/core/features/course/components/module/core-course-module.html
+++ b/src/core/features/course/components/module/core-course-module.html
@@ -14,11 +14,11 @@
@if (module.handlerData.action && module.uservisible) {
-
-
-
+
+
+
} @else {
-
+
}
@if (module.handlerData.action && module.uservisible) {
-
+
}
diff --git a/src/core/features/course/pages/index/index.html b/src/core/features/course/pages/index/index.html
index 4699bdada77..65acb6cef4c 100644
--- a/src/core/features/course/pages/index/index.html
+++ b/src/core/features/course/pages/index/index.html
@@ -11,17 +11,17 @@
@if (course?.format !== 'singleactivity') {
-
-
+
-
+
-
-
+
+
+
} @else {
-
-
-
+
+
+
}
diff --git a/src/core/features/course/pages/list-mod-type/list-mod-type.html b/src/core/features/course/pages/list-mod-type/list-mod-type.html
index ab5a61b1e9d..30ac6df2e8b 100644
--- a/src/core/features/course/pages/list-mod-type/list-mod-type.html
+++ b/src/core/features/course/pages/list-mod-type/list-mod-type.html
@@ -38,10 +38,10 @@
@if (isModule(modOrSubsection)) {
-
+
} @else {
-
+
}
diff --git a/src/core/features/login/components/identity-provider/identity-provider.html b/src/core/features/login/components/identity-provider/identity-provider.html
index 23c98b27aa0..484798fa1a6 100644
--- a/src/core/features/login/components/identity-provider/identity-provider.html
+++ b/src/core/features/login/components/identity-provider/identity-provider.html
@@ -1,7 +1,7 @@
@if (provider.iconurl) {
-
+
}
{{ provider.name }}
diff --git a/src/core/features/login/pages/reconnect/reconnect.html b/src/core/features/login/pages/reconnect/reconnect.html
index 1a682cefc73..5a1753abac2 100644
--- a/src/core/features/login/pages/reconnect/reconnect.html
+++ b/src/core/features/login/pages/reconnect/reconnect.html
@@ -52,25 +52,25 @@ {{ 'core.login.reconnect' | translate }}
@if (currentLogin && currentLogin.provider) {
-
- @if (currentLogin.showOther) {
-
-
-
-
- {{ 'core.login.morewaystologin' | translate }}
-
-
+
+ @if (currentLogin.showOther) {
+
+
+
+
+ {{ 'core.login.morewaystologin' | translate }}
+
+
-
-
-
-
-
- }
+
+
+
+
+
+ }
} @else {
-
+
}
diff --git a/src/core/features/settings/pages/dev/dev.html b/src/core/features/settings/pages/dev/dev.html
index abe5c2f73bd..bb3636496b6 100644
--- a/src/core/features/settings/pages/dev/dev.html
+++ b/src/core/features/settings/pages/dev/dev.html
@@ -98,9 +98,9 @@ {{ 'core.settings.developeroptions' | translate }}
Private token
@if (privateToken) {
- {{ privateToken }}
+ {{ privateToken }}
} @else {
- ---
+ ---
}
@@ -108,31 +108,31 @@ {{ 'core.settings.developeroptions' | translate }}
Files access key
@if (filesAccessKey) {
- {{ filesAccessKey }}
+ {{ filesAccessKey }}
} @else {
- ---
+ ---
}
@if (privateToken) {
-
-
- Minimum time between auto-login requests
- {{ autoLoginTimeBetweenRequests | coreDuration }}
-
-
-
-
- Last auto login in this device
- @if (lastAutoLoginTime && lastAutoLoginTime > 0) {
- {{ lastAutoLoginTime | coreTimeAgo }}
- This value will reset when the app is restarted.
- } @else {
- ---
- }
-
-
+
+
+ Minimum time between auto-login requests
+ {{ autoLoginTimeBetweenRequests | coreDuration }}
+
+
+
+
+ Last auto login in this device
+ @if (lastAutoLoginTime && lastAutoLoginTime > 0) {
+ {{ lastAutoLoginTime | coreTimeAgo }}
+ This value will reset when the app is restarted.
+ } @else {
+ ---
+ }
+
+
}
diff --git a/src/core/features/settings/pages/deviceinfo/deviceinfo.html b/src/core/features/settings/pages/deviceinfo/deviceinfo.html
index abe37a513ec..4ab4620b85b 100644
--- a/src/core/features/settings/pages/deviceinfo/deviceinfo.html
+++ b/src/core/features/settings/pages/deviceinfo/deviceinfo.html
@@ -104,9 +104,9 @@
{{ 'core.settings.networkstatus' | translate}}
@if (deviceInfo.isOnline) {
- {{ 'core.online' | translate }}
+ {{ 'core.online' | translate }}
} @else {
- {{ 'core.offline' | translate }}
+ {{ 'core.offline' | translate }}
}
diff --git a/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html b/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
index f7c968dd4d9..7af3fd3d59f 100644
--- a/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
+++ b/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
@@ -1,14 +1,14 @@
@if (!courseContentsPage) {
-
-
+
-
+
} @else {
-
+
-
-
+
+
+
}
diff --git a/src/core/features/viewer/components/image/image.html b/src/core/features/viewer/components/image/image.html
index d25fdff4a77..278e6df6dad 100644
--- a/src/core/features/viewer/components/image/image.html
+++ b/src/core/features/viewer/components/image/image.html
@@ -3,9 +3,9 @@
@if (dataUrl) {
-
+
} @else {
-
+
}
diff --git a/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html b/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
index f50e182bae3..1d7d412bb84 100644
--- a/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
+++ b/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
@@ -34,11 +34,11 @@
@for (theme of themes; track $index; let last = $last;) {
-
-
- Aa {{ 'core.viewer.readingtheme'+theme | translate }}
-
-
+
+
+ Aa {{ 'core.viewer.readingtheme'+theme | translate }}
+
+
}
-
+
@if (!isModule(modOrSubsection)) {
-
+
} @else {
-
}
diff --git a/src/core/features/course/components/module/core-course-module.html b/src/core/features/course/components/module/core-course-module.html
index 51da2cb313d..f85ab7b5317 100644
--- a/src/core/features/course/components/module/core-course-module.html
+++ b/src/core/features/course/components/module/core-course-module.html
@@ -14,11 +14,11 @@
@if (module.handlerData.action && module.uservisible) {
-
-
-
+
+
+
} @else {
-
+
}
@if (module.handlerData.action && module.uservisible) {
-
+
}
diff --git a/src/core/features/course/pages/index/index.html b/src/core/features/course/pages/index/index.html
index 4699bdada77..65acb6cef4c 100644
--- a/src/core/features/course/pages/index/index.html
+++ b/src/core/features/course/pages/index/index.html
@@ -11,17 +11,17 @@
@if (course?.format !== 'singleactivity') {
-
-
+
-
+
-
-
+
+
+
} @else {
-
-
-
+
+
+
}
diff --git a/src/core/features/course/pages/list-mod-type/list-mod-type.html b/src/core/features/course/pages/list-mod-type/list-mod-type.html
index ab5a61b1e9d..30ac6df2e8b 100644
--- a/src/core/features/course/pages/list-mod-type/list-mod-type.html
+++ b/src/core/features/course/pages/list-mod-type/list-mod-type.html
@@ -38,10 +38,10 @@
@if (isModule(modOrSubsection)) {
-
+
} @else {
-
+
}
diff --git a/src/core/features/login/components/identity-provider/identity-provider.html b/src/core/features/login/components/identity-provider/identity-provider.html
index 23c98b27aa0..484798fa1a6 100644
--- a/src/core/features/login/components/identity-provider/identity-provider.html
+++ b/src/core/features/login/components/identity-provider/identity-provider.html
@@ -1,7 +1,7 @@
@if (provider.iconurl) {
-
+
}
{{ provider.name }}
diff --git a/src/core/features/login/pages/reconnect/reconnect.html b/src/core/features/login/pages/reconnect/reconnect.html
index 1a682cefc73..5a1753abac2 100644
--- a/src/core/features/login/pages/reconnect/reconnect.html
+++ b/src/core/features/login/pages/reconnect/reconnect.html
@@ -52,25 +52,25 @@ {{ 'core.login.reconnect' | translate }}
@if (currentLogin && currentLogin.provider) {
-
- @if (currentLogin.showOther) {
-
-
-
-
- {{ 'core.login.morewaystologin' | translate }}
-
-
+
+ @if (currentLogin.showOther) {
+
+
+
+
+ {{ 'core.login.morewaystologin' | translate }}
+
+
-
-
-
-
-
- }
+
+
+
+
+
+ }
} @else {
-
+
}
diff --git a/src/core/features/settings/pages/dev/dev.html b/src/core/features/settings/pages/dev/dev.html
index abe5c2f73bd..bb3636496b6 100644
--- a/src/core/features/settings/pages/dev/dev.html
+++ b/src/core/features/settings/pages/dev/dev.html
@@ -98,9 +98,9 @@ {{ 'core.settings.developeroptions' | translate }}
Private token
@if (privateToken) {
- {{ privateToken }}
+ {{ privateToken }}
} @else {
- ---
+ ---
}
@@ -108,31 +108,31 @@ {{ 'core.settings.developeroptions' | translate }}
Files access key
@if (filesAccessKey) {
- {{ filesAccessKey }}
+ {{ filesAccessKey }}
} @else {
- ---
+ ---
}
@if (privateToken) {
-
-
- Minimum time between auto-login requests
- {{ autoLoginTimeBetweenRequests | coreDuration }}
-
-
-
-
- Last auto login in this device
- @if (lastAutoLoginTime && lastAutoLoginTime > 0) {
- {{ lastAutoLoginTime | coreTimeAgo }}
- This value will reset when the app is restarted.
- } @else {
- ---
- }
-
-
+
+
+ Minimum time between auto-login requests
+ {{ autoLoginTimeBetweenRequests | coreDuration }}
+
+
+
+
+ Last auto login in this device
+ @if (lastAutoLoginTime && lastAutoLoginTime > 0) {
+ {{ lastAutoLoginTime | coreTimeAgo }}
+ This value will reset when the app is restarted.
+ } @else {
+ ---
+ }
+
+
}
diff --git a/src/core/features/settings/pages/deviceinfo/deviceinfo.html b/src/core/features/settings/pages/deviceinfo/deviceinfo.html
index abe37a513ec..4ab4620b85b 100644
--- a/src/core/features/settings/pages/deviceinfo/deviceinfo.html
+++ b/src/core/features/settings/pages/deviceinfo/deviceinfo.html
@@ -104,9 +104,9 @@
{{ 'core.settings.networkstatus' | translate}}
@if (deviceInfo.isOnline) {
- {{ 'core.online' | translate }}
+ {{ 'core.online' | translate }}
} @else {
- {{ 'core.offline' | translate }}
+ {{ 'core.offline' | translate }}
}
diff --git a/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html b/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
index f7c968dd4d9..7af3fd3d59f 100644
--- a/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
+++ b/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
@@ -1,14 +1,14 @@
@if (!courseContentsPage) {
-
-
+
-
+
} @else {
-
+
-
-
+
+
+
}
diff --git a/src/core/features/viewer/components/image/image.html b/src/core/features/viewer/components/image/image.html
index d25fdff4a77..278e6df6dad 100644
--- a/src/core/features/viewer/components/image/image.html
+++ b/src/core/features/viewer/components/image/image.html
@@ -3,9 +3,9 @@
@if (dataUrl) {
-
+
} @else {
-
+
}
diff --git a/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html b/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
index f50e182bae3..1d7d412bb84 100644
--- a/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
+++ b/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
@@ -34,11 +34,11 @@
@for (theme of themes; track $index; let last = $last;) {
-
-
- Aa {{ 'core.viewer.readingtheme'+theme | translate }}
-
-
+
+
+ Aa {{ 'core.viewer.readingtheme'+theme | translate }}
+
+
}
@if (module.handlerData.action && module.uservisible) {
-
- {{ 'core.login.morewaystologin' | translate }} {{ 'core.login.morewaystologin' | translate }}
{{ 'core.login.reconnect' | translate }}
{{ 'core.settings.developeroptions' | translate }}
Private token
@if (privateToken) { -{{ privateToken }}
+{{ privateToken }}
} @else { ----
+---
}{{ 'core.settings.developeroptions' | translate }}
Files access key
@if (filesAccessKey) { -{{ filesAccessKey }}
+{{ filesAccessKey }}
} @else { ----
+---
}Minimum time between auto-login requests
-{{ autoLoginTimeBetweenRequests | coreDuration }}
-Last auto login in this device
- @if (lastAutoLoginTime && lastAutoLoginTime > 0) { -{{ lastAutoLoginTime | coreTimeAgo }}
----
- } -Minimum time between auto-login requests
+{{ autoLoginTimeBetweenRequests | coreDuration }}
+Last auto login in this device
+ @if (lastAutoLoginTime && lastAutoLoginTime > 0) { +{{ lastAutoLoginTime | coreTimeAgo }}
+---
+ } +
{{ 'core.settings.networkstatus' | translate}}
@if (deviceInfo.isOnline) {
- {{ 'core.online' | translate }}
+ {{ 'core.online' | translate }}
} @else {
- {{ 'core.offline' | translate }}
+ {{ 'core.offline' | translate }}
}
diff --git a/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html b/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
index f7c968dd4d9..7af3fd3d59f 100644
--- a/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
+++ b/src/core/features/siteplugins/components/module-index/core-siteplugins-module-index.html
@@ -1,14 +1,14 @@
@if (!courseContentsPage) {
-
-
+
-
+
} @else {
-
+
-
-
+
+
+
}
diff --git a/src/core/features/viewer/components/image/image.html b/src/core/features/viewer/components/image/image.html
index d25fdff4a77..278e6df6dad 100644
--- a/src/core/features/viewer/components/image/image.html
+++ b/src/core/features/viewer/components/image/image.html
@@ -3,9 +3,9 @@
@if (dataUrl) {
-
+
} @else {
-
+
}
diff --git a/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html b/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
index f50e182bae3..1d7d412bb84 100644
--- a/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
+++ b/src/core/features/viewer/components/reading-mode-settings/reading-mode-settings.html
@@ -34,11 +34,11 @@
@for (theme of themes; track $index; let last = $last;) {
-
-
- Aa {{ 'core.viewer.readingtheme'+theme | translate }}
-
-
+
+
+ Aa {{ 'core.viewer.readingtheme'+theme | translate }}
+
+
}
{{ 'core.settings.networkstatus' | translate}}
@if (deviceInfo.isOnline) { -{{ 'core.online' | translate }}
+{{ 'core.online' | translate }}
} @else { -{{ 'core.offline' | translate }}
+{{ 'core.offline' | translate }}
}