[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 90/459: clarify state
From: |
gnunet |
Subject: |
[reclaim-ui] 90/459: clarify state |
Date: |
Fri, 11 Jun 2021 23:23:02 +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 aba585a041b06722ef2b11c95d7c886655f2ff43
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Jun 25 20:10:08 2019 +0200
clarify state
---
src/app/identity-list/identity-list.component.html | 15 ++++++++-------
src/app/identity-list/identity-list.component.ts | 2 +-
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/app/identity-list/identity-list.component.html
b/src/app/identity-list/identity-list.component.html
index ab59092..f68fd52 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -1,11 +1,11 @@
<div *ngIf="inOpenIdFlow()" class="alert alert-primary alert-dismissible fade
show" role="alert">
- <span><i class="fa fa-2x fa-openid"></i> <b class="fa-2x"> Authorization
Request</b></span><br/>
- <i *ngIf="!clientNameFound()"><i class="fa fa-circle-o-notch fa-spin
fa-fw"></i> Verifying request for:</i><br/>
+ <span *ngIf="clientNameFound()"><i class="fa fa-2x fa-openid"></i> <b
class="fa-2x"> Authorization Request</b></span><br/>
+ <span *ngIf="!clientNameFound()"><i class="fa fa-2x fa-circle-o-notch
fa-spin fa-fw"></i> <b class="fa-2x">Verifying request..</b></span><br/>
<div *ngIf="clientNameFound()"><strong>"{{ clientName }}"</strong>
asks you to share personal information.<br/>
Choose an identity to let it access the following information:
</div>
- <ul>
+ <ul *ngIf="clientNameFound()">
<li *ngFor="let attribute of getScopes()"><strong>{{attribute}}</strong>
</ul>
<button class="btn btn-danger" (click)="cancelRequest()">
@@ -156,7 +156,7 @@
<div class="card-avatar-character text-dark">
<!--<div class="icon m-1 text-uppercase"
[style.background-color]="intToRGB(identity.pubkey)">{{
identity.name[0]}}</div>-->
<i class="fa fa-user-circle"></i>
- <span class="m-1" styl="display: inline-block"><i>
{{identity.name}}</i></span>
+ <span class="m-1" style="display: inline-block"><i>
{{identity.name}}</i></span>
<button class="btn btn-primary" *ngIf="showConfirmDelete != identity"
(click)="confirmDelete(identity)">
<span class="fa fa-trash"></span>
</button>
@@ -216,9 +216,10 @@
<div>
<div>
- <span *ngIf="!clientNameFound()"><i class="fa fa-circle-o-notch
fa-spin fa-fw"></i> Verification in progress...</span>
- <button *ngIf="canAuthorize(identity)" [disabled]="!inOpenIdFlow()
|| isAttributeMissing(identity) || !clientNameFound"
(click)="loginIdentity(identity)" class="btn btn-primary mr-1 openid-login">
- <span *ngIf="clientNameFound()" class="fa fa-openid"></span> Share
from this identity</button>
+ <span *ngIf="inOpenIdFlow() && !clientNameFound()"><i class="fa
fa-circle-o-notch fa-spin fa-fw"></i> Verification in progress...</span>
+ <button *ngIf="canAuthorize(identity)" [disabled]="!inOpenIdFlow()
|| isAttributeMissing(identity) || !clientNameFound()"
(click)="loginIdentity(identity)" class="btn btn-primary mr-1 openid-login">
+ <span *ngIf="clientNameFound()" class="fa
fa-exclamation-circle"></span> Share from this identity</button>
+ <span *ngIf="!clientNameFound()" class="fa fa-"></span> Sharing
disabled</button>
</div>
</div>
<div>
diff --git a/src/app/identity-list/identity-list.component.ts
b/src/app/identity-list/identity-list.component.ts
index 11ef8e3..d9d1413 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -472,7 +472,7 @@ export class IdentityListComponent implements OnInit {
getMissingPretty(identity) { return this.getMissing(identity).join(", "); }
canAuthorize(identity)
{
- return this.inOpenIdFlow() && !this.isInEdit(identity) &&
this.clientNameFound();
+ return this.inOpenIdFlow() && !this.isInEdit(identity);
}
isRequested(identity, attribute)
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 67/459: removal of unused import, (continued)
- [reclaim-ui] 67/459: removal of unused import, gnunet, 2021/06/11
- [reclaim-ui] 70/459: add spinner, gnunet, 2021/06/11
- [reclaim-ui] 68/459: Merge branch 'offline_overlay' into 'master', gnunet, 2021/06/11
- [reclaim-ui] 79/459: polish ui, gnunet, 2021/06/11
- [reclaim-ui] 83/459: prevent authorization on unverified clients, gnunet, 2021/06/11
- [reclaim-ui] 60/459: update dependencies, gnunet, 2021/06/11
- [reclaim-ui] 71/459: change authz request, gnunet, 2021/06/11
- [reclaim-ui] 85/459: fix client name check #2, gnunet, 2021/06/11
- [reclaim-ui] 87/459: fix client name check #4, gnunet, 2021/06/11
- [reclaim-ui] 64/459: update deps, gnunet, 2021/06/11
- [reclaim-ui] 90/459: clarify state,
gnunet <=
- [reclaim-ui] 94/459: minor, gnunet, 2021/06/11
- [reclaim-ui] 93/459: update ui, gnunet, 2021/06/11
- [reclaim-ui] 88/459: prettify information, gnunet, 2021/06/11
- [reclaim-ui] 75/459: ticket list fixed attributes and added revoke confirmation, gnunet, 2021/06/11
- [reclaim-ui] 91/459: fix html, gnunet, 2021/06/11
- [reclaim-ui] 89/459: actually display info, gnunet, 2021/06/11
- [reclaim-ui] 96/459: openid logo fix, gnunet, 2021/06/11
- [reclaim-ui] 84/459: fix client name check, gnunet, 2021/06/11
- [reclaim-ui] 105/459: add reclaim watermark, gnunet, 2021/06/11
- [reclaim-ui] 92/459: layout fixes, gnunet, 2021/06/11