gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[reclaim-ui] 420/459: fix


From: gnunet
Subject: [reclaim-ui] 420/459: fix
Date: Fri, 11 Jun 2021 23:28:32 +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 af8b3259afde84772038107dc556d043d54ead8f
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Wed Jan 6 12:22:10 2021 +0900

    fix
---
 src/app/edit-identity/edit-identity.component.html | 22 +++++++++++-----------
 src/app/edit-identity/edit-identity.component.ts   |  2 +-
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/app/edit-identity/edit-identity.component.html 
b/src/app/edit-identity/edit-identity.component.html
index cfa6d3f..478a226 100644
--- a/src/app/edit-identity/edit-identity.component.html
+++ b/src/app/edit-identity/edit-identity.component.html
@@ -140,11 +140,11 @@
           </div>
         </div>
 
-        <p *ngIf="getMissingClaims() == 0"> 
{{getMessage("edit_identity_html@addStandardClaim")}} <span 
(click)="showGeneralInfo = !showGeneralInfo" class="fa 
fa-question-circle"></span></p>
+        <p *ngIf="getMissingClaims().length == 0"> 
{{getMessage("edit_identity_html@addStandardClaim")}} <span 
(click)="showGeneralInfo = !showGeneralInfo" class="fa 
fa-question-circle"></span></p>
         <div class="alert alert-secondary fade show" *ngIf="showGeneralInfo" >
           {{getMessage("edit_identity_html@standardScopes")}}
         </div>
-          <div class="table pb-1" *ngIf="getMissingClaims() == 0">
+          <div class="table pb-1" *ngIf="getMissingClaims().length == 0">
             <!-- Add standard attribute -->
             <div class="row mb-3"
                  [class.alert-danger]="isInConflict(newStandardAttribute)">
@@ -161,7 +161,7 @@
               <div class="col-sm" style="display:flex;">
                 <div style="flex:1;">
                   <input *ngIf="!isClaimCred(newStandardAttribute)" 
placeholder="{{ getMessage('Value') }}" [(ngModel)]="newStandardAttribute.value"
-                  (keyup.enter)="canAddAttribute(newStandardAttribute) && 
saveAttribute(newStandardAttribute)">
+                                                                    
(keyup.enter)="canAddAttribute(newStandardAttribute) && 
saveAttribute(newStandardAttribute)">
                   <select class="custom-select"
                           *ngIf="newStandardAttribute.credential !== '' && 
isClaimCred(newStandardAttribute)" 
(change)="newStandardAttribute.value=$event.target.value">
                     <option value="" >{{ 
getMessage("edit_identity_html@selectClaim") }}</option>
@@ -196,14 +196,14 @@
                  [class.alert-danger]="isInConflict(newAttribute)">
               <div class="col-sm">
                 <input [class.text-danger]="!attributeNameValid(newAttribute)"
-                placeholder="{{ getMessage('edit_identity_html@name') }}" 
[(ngModel)]="newAttribute.name"
-                (keyup.enter)="canAddAttribute(newAttribute) && 
saveAttribute(newAttribute)">
+                   placeholder="{{ getMessage('edit_identity_html@name') }}" 
[(ngModel)]="newAttribute.name"
+                   (keyup.enter)="canAddAttribute(newAttribute) && 
saveAttribute(newAttribute)">
               </div>
               <div class="col-sm" style="display:flex;">
                 <div style="flex:1;">
                   <input *ngIf="!isClaimCred(newAttribute)" placeholder="{{ 
getMessage('Value') }}"
-                  [(ngModel)]="newAttribute.value"
-                  (keyup.enter)="canAddAttribute(newAttribute) && 
saveAttribute(newAttribute)">
+                                                            
[(ngModel)]="newAttribute.value"
+                                                            
(keyup.enter)="canAddAttribute(newAttribute) && saveAttribute(newAttribute)">
                   <select class="custom-select"
                           *ngIf="newAttribute.credential !== '' && 
isClaimCred(newAttribute)" (change)="newAttribute.value=$event.target.value">
                     <option value="" >{{ 
getMessage("edit_identity_html@selectClaim") }}</option>
@@ -261,8 +261,8 @@
               <div class="col-sm" style="display:flex;">
                 <div style="flex:1;" *ngIf="claim == claimInEdit">
                   <input *ngIf="!isClaimCred(claim)" placeholder="{{ 
getMessage('Value') }}"
-                  [(ngModel)]="claim.value"
-                  (keyup.enter)="canUpdateAttribute(claim) && 
saveAttribute(claim)">
+                                                     [(ngModel)]="claim.value"
+                                                     
(keyup.enter)="canUpdateAttribute(claim) && saveAttribute(claim)">
                   <select class="custom-select"
                           [(ngModel)]="claim.value"
                           *ngIf="claim.credential !== '' && 
isClaimCred(claim)" (change)="credentialClaimSelected(claim, 
$event.target.value)">
@@ -320,9 +320,9 @@
         <span class="fa fa-arrow-left"></span> {{ 
getMessage("edit_identity_html@identitySelection") }}
       </button>
       <button *ngIf="oidcService.inOpenIdFlow()" 
[disabled]="!isClientVerified() || attributes.length <= 0" 
(click)="loginIdentity(identity)"
-        class="btn btn-success mr-1 openid-login">
+              class="btn btn-success mr-1 openid-login">
         <span *ngIf="isClientVerified() && attributes.length > 0">{{ 
getMessage("identity_list_html@shareInfo1") }} <i
-            class="fa fa-share-alt"></i> {{ 
getMessage("identity_list_html@shareInfo2") }}</span>
+                                                                               
                                       class="fa fa-share-alt"></i> {{ 
getMessage("identity_list_html@shareInfo2") }}</span>
         <span *ngIf="!isClientVerified() || attributes.length <= 0"><i 
class="fa fa-exclamation-circle"></i>
           {{ getMessage("identity_list_html@sharingDisabled") }}</span>
       </button>
diff --git a/src/app/edit-identity/edit-identity.component.ts 
b/src/app/edit-identity/edit-identity.component.ts
index 331e968..ac1fc49 100644
--- a/src/app/edit-identity/edit-identity.component.ts
+++ b/src/app/edit-identity/edit-identity.component.ts
@@ -61,7 +61,7 @@ export class EditIdentityComponent implements OnInit {
   constructor(private reclaimService: ReclaimService,
               private identityService: IdentityService,
               private gnsService: GnsService,
-              private oidcService: OpenIdService,
+              public oidcService: OpenIdService,
               private namestoreService: NamestoreService,
               private activatedRoute: ActivatedRoute,
               private configService: ConfigService,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]