[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 275/459: more info boxes
From: |
gnunet |
Subject: |
[reclaim-ui] 275/459: more info boxes |
Date: |
Fri, 11 Jun 2021 23:26:07 +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 1d289acd560be9777dfbd2070e83265ef0d46beb
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Fri Aug 7 08:58:40 2020 +0200
more info boxes
---
.../authorization-request.component.html | 3 +--
src/app/edit-identity/edit-identity.component.html | 2 +-
src/app/identity-list/identity-list.component.html | 9 ++++++++-
src/app/identity-list/identity-list.component.ts | 11 +++++++++++
4 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/src/app/authorization-request/authorization-request.component.html
b/src/app/authorization-request/authorization-request.component.html
index 23c0913..3c21c71 100644
--- a/src/app/authorization-request/authorization-request.component.html
+++ b/src/app/authorization-request/authorization-request.component.html
@@ -1,6 +1,6 @@
<div style="text-align: center;">
<i class="fa fa-2x fa-openid"></i>
- <b class="fa-2x"> Authorization Request </b>
+ <b class="fa-2x"> Personal information request </b>
<br/>
<span *ngIf="isClientVerified() === undefined">
<i class="fa fa-2x fa-circle-o-notch fa-spin fa-fw"></i>
@@ -22,7 +22,6 @@
<li *ngFor="let attribute of
getRequestedNonStandardClaims()"><strong>{{attribute}}</strong></li>
</ul>
</div>
-
</div>
<div style="margin: 1em;">
<button class="btn btn-danger m-1 mt-4" *ngIf="isClientVerified()"
(click)="cancelRequest()" style="margin-bottom: -4%;">
diff --git a/src/app/edit-identity/edit-identity.component.html
b/src/app/edit-identity/edit-identity.component.html
index 36985d0..5a82669 100644
--- a/src/app/edit-identity/edit-identity.component.html
+++ b/src/app/edit-identity/edit-identity.component.html
@@ -15,7 +15,7 @@
<h3 class="card-subtitle mb-2">Basic user information <span
(click)="showGeneralInfo = !showGeneralInfo" class="fa
fa-question-circle"></span></h3>
<div class="alert alert-secondary fade show" *ngIf="showGeneralInfo">
The attributes below correspond to the standard scopes of the OpenID
Connect
- specification: profile, email, phone and address.
+ specification: ``profile'', ``email'', ``phone'' and ``address''.
</div>
<table class="table pb-1">
diff --git a/src/app/identity-list/identity-list.component.html
b/src/app/identity-list/identity-list.component.html
index 7f8caf6..42ef0ac 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -112,7 +112,14 @@
</table>
</div>
<div style="margin-bottom: 1em" *ngIf="(0 <
attributes[identity.pubkey]?.length) && inOpenIdFlow()" class="text-primary">
- Only attributes marked with <span class="fa fa-openid" ></span> will
be shared.
+ Attributes marked with <span class="fa fa-openid" ></span> will be
shared. <span (click)="toggleSharingInfo(identity)" class="fa
fa-question-circle"></span><br/>
+ <div class="alert alert-secondary fade show"
*ngIf="isSharingInfoOpened(identity)">
+ If you do not want to share information from this identity, you may
+ declide the request or choose a different identity.<br/>
+ If you do not want to share a specific piece of information, you have
+ to remove the respective attribute.
+ </div>
+
</div>
<div>
diff --git a/src/app/identity-list/identity-list.component.ts
b/src/app/identity-list/identity-list.component.ts
index 0b45f17..c0547be 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -36,6 +36,7 @@ export class IdentityListComponent implements OnInit {
modalOpened: any;
errorInfos: any;
searchTerm: any;
+ showSharingInfo: any = '';
sortAttributeByStandardClaim: any;
constructor(private route: ActivatedRoute, private oidcService:
OpenIdService,
@@ -417,5 +418,15 @@ export class IdentityListComponent implements OnInit {
}
return true;
}
+ toggleSharingInfo(id: Identity) {
+ if (this.showSharingInfo === id) {
+ this.showSharingInfo = '';
+ return;
+ }
+ this.showSharingInfo = id;
+ }
+ isSharingInfoOpened(identity): boolean {
+ return this.showSharingInfo == identity;
+ }
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 234/459: adding attestation works, (continued)
- [reclaim-ui] 234/459: adding attestation works, gnunet, 2021/06/11
- [reclaim-ui] 214/459: package.json, gnunet, 2021/06/11
- [reclaim-ui] 240/459: scopes after idProviderDiscovery, gnunet, 2021/06/11
- [reclaim-ui] 244/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 235/459: code duplicates removed, gnunet, 2021/06/11
- [reclaim-ui] 251/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 259/459: fix attribute updates and display, gnunet, 2021/06/11
- [reclaim-ui] 243/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 257/459: minor wording change, gnunet, 2021/06/11
- [reclaim-ui] 248/459: minor info change, gnunet, 2021/06/11
- [reclaim-ui] 275/459: more info boxes,
gnunet <=
- [reclaim-ui] 250/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 273/459: better requested claim handling, gnunet, 2021/06/11
- [reclaim-ui] 268/459: style, gnunet, 2021/06/11
- [reclaim-ui] 233/459: make discovery experimental, gnunet, 2021/06/11
- [reclaim-ui] 246/459: scopes in configuration, gnunet, 2021/06/11
- [reclaim-ui] 254/459: fix array splicing, gnunet, 2021/06/11
- [reclaim-ui] 262/459: some cleanup, gnunet, 2021/06/11
- [reclaim-ui] 252/459: minor fix, gnunet, 2021/06/11
- [reclaim-ui] 260/459: fix flag settings, gnunet, 2021/06/11
- [reclaim-ui] 263/459: add spinner when saving, gnunet, 2021/06/11