mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-08-07 17:48:27 +00:00
[ACA-2509] configurable version number
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
},
|
},
|
||||||
"application": {
|
"application": {
|
||||||
"name": "Alfresco Content Application",
|
"name": "Alfresco Content Application",
|
||||||
|
"version": "1.8.0",
|
||||||
"logo": "assets/images/alfresco-logo-flower.svg",
|
"logo": "assets/images/alfresco-logo-flower.svg",
|
||||||
"copyright": "APP.COPYRIGHT"
|
"copyright": "APP.COPYRIGHT"
|
||||||
},
|
},
|
||||||
|
@@ -3,7 +3,10 @@
|
|||||||
<div class="main-content">
|
<div class="main-content">
|
||||||
<article>
|
<article>
|
||||||
<header>{{ 'application.name' | adfAppConfig }}</header>
|
<header>{{ 'application.name' | adfAppConfig }}</header>
|
||||||
<p>{{ 'APP.ABOUT.VERSION' | translate }} {{ releaseVersion }}</p>
|
<p>
|
||||||
|
{{ 'APP.ABOUT.VERSION' | translate }}
|
||||||
|
{{ 'application.version' | adfAppConfig }}
|
||||||
|
</p>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<ng-container *ngIf="extensions$ | async as extensions">
|
<ng-container *ngIf="extensions$ | async as extensions">
|
||||||
|
@@ -30,7 +30,7 @@ import { Observable } from 'rxjs';
|
|||||||
import { map } from 'rxjs/operators';
|
import { map } from 'rxjs/operators';
|
||||||
import { AppExtensionService } from '../../extensions/extension.service';
|
import { AppExtensionService } from '../../extensions/extension.service';
|
||||||
import { ContentApiService } from '@alfresco/aca-shared';
|
import { ContentApiService } from '@alfresco/aca-shared';
|
||||||
import { version, dependencies } from '../../../../package.json';
|
import { dependencies } from '../../../../package.json';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-about',
|
selector: 'app-about',
|
||||||
templateUrl: './about.component.html',
|
templateUrl: './about.component.html',
|
||||||
@@ -40,7 +40,6 @@ import { version, dependencies } from '../../../../package.json';
|
|||||||
})
|
})
|
||||||
export class AboutComponent implements OnInit {
|
export class AboutComponent implements OnInit {
|
||||||
repository: RepositoryInfo;
|
repository: RepositoryInfo;
|
||||||
releaseVersion = version;
|
|
||||||
extensions$: Observable<ExtensionRef[]>;
|
extensions$: Observable<ExtensionRef[]>;
|
||||||
dependencyEntries: Array<{ name: string; version: string }>;
|
dependencyEntries: Array<{ name: string; version: string }>;
|
||||||
statusEntries: Array<{ property: string; value: string }>;
|
statusEntries: Array<{ property: string; value: string }>;
|
||||||
|
Reference in New Issue
Block a user