diff --git a/src/core/features/settings/pages/licenses/licenses.html b/src/core/features/settings/pages/licenses/licenses.html index 99d366555..7710faa0f 100644 --- a/src/core/features/settings/pages/licenses/licenses.html +++ b/src/core/features/settings/pages/licenses/licenses.html @@ -12,7 +12,7 @@ + [placeholder]="'core.filter' | translate" class="ion-margin-vertical" /> @@ -22,13 +22,13 @@ {{ 'core.view' | translate }} - +

{{ license.name }} {{ license.name }} - {{ license.version }}

-

+

{{ 'core.settings.publisher' | translate }}{{ 'core.labelsep' | translate }} {{ license.publisher }}

{{ 'core.settings.license' | translate }}{{ 'core.labelsep' | translate }} {{ license.licenses }}

@@ -37,7 +37,9 @@ [showBrowserWarning]="false">{{ license.email }}

{{ 'core.view' | translate }} + auto-login="no" [ariaLabel]="'core.view' | translate"> +
diff --git a/src/core/features/settings/pages/licenses/licenses.ts b/src/core/features/settings/pages/licenses/licenses.ts index 2df4cccb5..131ac3c67 100644 --- a/src/core/features/settings/pages/licenses/licenses.ts +++ b/src/core/features/settings/pages/licenses/licenses.ts @@ -52,7 +52,7 @@ export class CoreSettingsLicensesPage implements OnInit { protected allLicenses: CoreSettingsLicense[] = []; constructor() { - this.appLicenseVersion = CoreConstants.CONFIG.versionname.indexOf('-') > 0 + this.appLicenseVersion = CoreConstants.BUILD.isDevelopment ? 'main' : 'v' + CoreConstants.CONFIG.versionname;