[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 387/459: update
From: |
gnunet |
Subject: |
[reclaim-ui] 387/459: update |
Date: |
Fri, 11 Jun 2021 23:27:59 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository reclaim-ui.
commit 10a2249bb60f8385a188b9618c052ec2df5e76c9
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Mon Dec 28 19:47:21 2020 +0900
update
---
src/app/edit-identity/edit-identity.component.ts | 2 ++
src/app/identity-list/identity-list.component.ts | 10 ++++++++++
src/app/open-id.service.ts | 2 +-
src/locales/de/messages.json | 1 +
src/locales/en/messages.json | 1 +
5 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/src/app/edit-identity/edit-identity.component.ts
b/src/app/edit-identity/edit-identity.component.ts
index 32c4cd6..f461b2b 100644
--- a/src/app/edit-identity/edit-identity.component.ts
+++ b/src/app/edit-identity/edit-identity.component.ts
@@ -748,6 +748,8 @@ export class EditIdentityComponent implements OnInit {
mapIssuer(iss: string): string {
if (iss.includes("omejdn.nslab.ch")) {
return "Berner Fachhochschule";
+ } else if (iss.includes("as.aisec.fraunhofer.de")) {
+ return "Fraunhofer AISEC";
}
return iss;
}
diff --git a/src/app/identity-list/identity-list.component.ts
b/src/app/identity-list/identity-list.component.ts
index c77d86e..24a7750 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -236,6 +236,16 @@ export class IdentityListComponent implements OnInit {
if (undefined === this.attributes[identity.pubkey]) { return '' };
for (let attr of this.attributes[identity.pubkey]) {
if (attr.name === 'picture') {
+ for (let cred of this.credentials[identity.pubkey]) {
+ if (cred.id == attr.credential) {
+ for (let cattr of cred.attributes) {
+ if (cattr.name != attr.value) {
+ continue;
+ }
+ return cattr.value.replace(/"/g, '');
+ }
+ }
+ }
return attr.value;
}
}
diff --git a/src/app/open-id.service.ts b/src/app/open-id.service.ts
index fdb127e..723397e 100644
--- a/src/app/open-id.service.ts
+++ b/src/app/open-id.service.ts
@@ -234,7 +234,7 @@ export class OpenIdService {
"middle_name": this.getMessage('claim@middle_name'),
"nickname": this.getMessage('claim@nickname'),
"preferred_username": this.getMessage('claim@preferred_username'),
- //"profile": "Profile URL",
+ "profile": this.getMessage('claim@profile'),
"picture": this.getMessage('claim@picture'),
"website": this.getMessage('claim@website'),
"gender": this.getMessage('claim@gender'),
diff --git a/src/locales/de/messages.json b/src/locales/de/messages.json
index a8e58c1..f6455c2 100644
--- a/src/locales/de/messages.json
+++ b/src/locales/de/messages.json
@@ -106,6 +106,7 @@
"claim@nickname": "Pseudonym",
"claim@preferred_username": "Bevorzugter Nutzername",
"claim@picture": "Bild URL",
+ "claim@profile": "Profil URL",
"claim@website": "Website URL",
"claim@gender": "Geschlecht",
"claim@email": "Mailadresse",
diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json
index 9a243a9..b506390 100644
--- a/src/locales/en/messages.json
+++ b/src/locales/en/messages.json
@@ -108,6 +108,7 @@
"claim@nickname": "Nickname",
"claim@preferred_username": "Preferred username",
"claim@picture": "Picture URL",
+ "claim@profile": "Profile URL",
"claim@website": "Website URL",
"claim@gender": "Gender",
"claim@email": "Email address",
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 363/459: fix radio button, (continued)
- [reclaim-ui] 363/459: fix radio button, gnunet, 2021/06/11
- [reclaim-ui] 362/459: missing credential source, gnunet, 2021/06/11
- [reclaim-ui] 403/459: update state loading, gnunet, 2021/06/11
- [reclaim-ui] 361/459: authorization request dialog in identity list, gnunet, 2021/06/11
- [reclaim-ui] 370/459: build fix, gnunet, 2021/06/11
- [reclaim-ui] 364/459: fine tuning authorization, gnunet, 2021/06/11
- [reclaim-ui] 401/459: improve import logic and UI, gnunet, 2021/06/11
- [reclaim-ui] 320/459: works on chrome, gnunet, 2021/06/11
- [reclaim-ui] 342/459: Translated using Weblate (German), gnunet, 2021/06/11
- [reclaim-ui] 349/459: fix translations, gnunet, 2021/06/11
- [reclaim-ui] 387/459: update,
gnunet <=
- [reclaim-ui] 358/459: clean up, gnunet, 2021/06/11
- [reclaim-ui] 386/459: fix import for browser plugin, other import may be broken, gnunet, 2021/06/11
- [reclaim-ui] 394/459: fix default selection, gnunet, 2021/06/11
- [reclaim-ui] 369/459: add code for straight attribute import, gnunet, 2021/06/11
- [reclaim-ui] 407/459: use share icon, gnunet, 2021/06/11
- [reclaim-ui] 397/459: fix address handling, gnunet, 2021/06/11
- [reclaim-ui] 406/459: allow authorization from edit component, gnunet, 2021/06/11
- [reclaim-ui] 376/459: updatte attribute info, gnunet, 2021/06/11
- [reclaim-ui] 371/459: attribute import done, gnunet, 2021/06/11
- [reclaim-ui] 404/459: fix, gnunet, 2021/06/11