mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-07 05:52:57 +00:00
@@ -17,6 +17,7 @@ import {ActivatedRoute} from '@angular/router';
|
||||
import {SCAboutPage, SCAppConfiguration} from '@openstapps/core';
|
||||
import {ConfigProvider} from '../../config/config.provider';
|
||||
import packageJson from '../../../../../package.json';
|
||||
import config from 'capacitor.config';
|
||||
|
||||
@Component({
|
||||
selector: 'about-page',
|
||||
@@ -26,6 +27,8 @@ import packageJson from '../../../../../package.json';
|
||||
export class AboutPageComponent implements OnInit {
|
||||
content: SCAboutPage;
|
||||
|
||||
appName = config.appName;
|
||||
|
||||
version = packageJson.version;
|
||||
|
||||
constructor(
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
<ion-content *ngIf="content">
|
||||
<pre>Open StApps Framework v{{ version }}</pre>
|
||||
<ion-text color="primary">{{ appName }} v{{ version }}</ion-text>
|
||||
<about-page-content
|
||||
*ngFor="let element of content.content"
|
||||
[content]="element"
|
||||
|
||||
@@ -117,12 +117,12 @@ export const profilePageSections: SCSection[] = [
|
||||
...SCSectionLinkConstantValues,
|
||||
},
|
||||
{
|
||||
name: 'About Open StApps',
|
||||
name: 'About the App',
|
||||
icon: SCIcon`info`,
|
||||
link: ['/about'],
|
||||
translations: {
|
||||
de: {
|
||||
name: 'Über Open StApps',
|
||||
name: 'Über die App',
|
||||
},
|
||||
},
|
||||
...SCSectionLinkConstantValues,
|
||||
|
||||
Reference in New Issue
Block a user