Skip to content

Commit ef04711

Browse files
committed
add info mail link to config files and about-modal-window
1 parent df83a85 commit ef04711

File tree

7 files changed

+18
-4
lines changed

7 files changed

+18
-4
lines changed

docker/deploy-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"legal": {
1818
"version": "6.3.4",
1919
"copyrightYear": "2025",
20-
"copyrightOwner": "FDPG+ Team"
20+
"copyrightOwner": "FDPG+ Team",
21+
"email": "[email protected]"
2122
},
2223
"features": {
2324
"v2": {

src/app/config/app-config.model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export interface IAppConfig {
1818
version: string
1919
copyrightYear: string
2020
copyrightOwner: string
21+
email: string
2122
}
2223
features: {
2324
v2: {

src/app/layout/components/about-modal/about-modal.component.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<span class="label">Copyright: </span
88
><span>{{ legalCopyrightOwner }} @{{ legalCopyrightYear }}</span>
99
</div>
10+
<div>
11+
<span class="label">Email: </span
12+
><a href="{{ 'mailto: ' + legalEmail }}" target="_blank">{{ legalEmail }}</a>
13+
</div>
1014
<div class="spacer"></div>
1115
<div class="header">Backend</div>
1216
<div>

src/app/layout/components/about-modal/about-modal.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export class AboutModalComponent implements OnInit {
1515
legalVersion: string;
1616
legalCopyrightOwner: string;
1717
legalCopyrightYear: string;
18+
legalEmail: string;
1819
backendBuildTime: string;
1920

2021
constructor(
@@ -35,5 +36,6 @@ export class AboutModalComponent implements OnInit {
3536
this.legalVersion = this.featureService.getLegalVersion();
3637
this.legalCopyrightOwner = this.featureService.getLegalCopyrightOwner();
3738
this.legalCopyrightYear = this.featureService.getLegalCopyrightYear();
39+
this.legalEmail = this.featureService.getLegalEmail();
3840
}
3941
}

src/app/service/Feature.service.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,8 @@ export class FeatureService {
153153
public getLegalVersion(): string {
154154
return this.appConfig.legal.version;
155155
}
156+
157+
public getLegalEmail(): string {
158+
return this.appConfig.legal.email;
159+
}
156160
}

src/assets/config/config.deploy.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"legal": {
1818
"version": "#{legal_version}",
19-
"copyrightOwner": "#{legal_copyrightOwner}"
19+
"copyrightOwner": "#{legal_copyrightOwner}",
20+
"email": "#{legal_email}"
2021
},
2122
"features": {
2223
"v2": {
@@ -40,7 +41,7 @@
4041
"pollingintervallinseconds": 1,
4142
"lowerboundarypatientresult": 10,
4243
"lowerboundarylocationresult": 3,
43-
"dsePatientProfileUrl": "https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert"
44+
"dsePatientProfileUrl": "https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert"
4445

4546
},
4647
"mock": {

src/assets/config/config.dev.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"legal": {
3737
"copyrightOwner": "FDPG+ Team",
3838
"copyrightYear": "2025",
39-
"version": "6.3.4"
39+
"version": "6.3.4",
40+
"email": "[email protected]"
4041
},
4142
"mock": {
4243
"loadnsave": false,

0 commit comments

Comments
 (0)