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