gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 370/459: build fix


From: gnunet
Subject: [reclaim-ui] 370/459: build fix
Date: Fri, 11 Jun 2021 23:27:42 +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 167d46efbbba67f9aedb4f62ad685c982a56bad4
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Thu Dec 24 14:19:52 2020 +0900

    build fix
---
 .../edit-credentials.component.html                | 61 ++--------------------
 1 file changed, 4 insertions(+), 57 deletions(-)

diff --git a/src/app/edit-credentials/edit-credentials.component.html 
b/src/app/edit-credentials/edit-credentials.component.html
index d9b0e58..241c6fa 100644
--- a/src/app/edit-credentials/edit-credentials.component.html
+++ b/src/app/edit-credentials/edit-credentials.component.html
@@ -7,65 +7,12 @@
   </div>
   <!-- Credential management -->
   <div class="card-body">
-    <h3 >{{getMessage("edit_credentials_html@linkAccount")}}</h3>
-    <!--IdProvider-Discovery-->
-    <div>
-      <!--Email not found Warning-->
-      <div *ngIf="!emailNotFoundAlertClosed && webfingerEmail==''"
-        class="alert alert-danger alert-dismissible fade show my-2" 
role="alert">
-        <span class="fa fa-warning"></span> {{errorMassage}}
-      </div>
-      <!--Issuer Discovery Warning-->
-      <div *ngIf="!isValidEmailforDiscovery()" class="alert alert-primary 
alert-dismissible fade show" role="alert" >
-        <span class="fa fa-warning"></span> 
{{getMessage("edit_credentials_html@notCompatible")}}
-      </div>
-      <div *ngIf="!newIdProviderDiscovered() && !loggedIn()"
-        class="alert alert-secondary alert-dismissible fade show my-2" 
role="alert" >
-        <span class="fa fa-info"> </span>  <b 
class="ml-2">{{getMessage("edit_credentials_html@info")}}</b><br/>
-        {{getMessage("edit_credentials_html@linkAccountInfo1")}}<br/>
-        
<i>{{getMessage("Note")}}</i>{{getMessage("edit_credentials_html@linkAccountInfo2")}}
-      </div>
-      <div *ngIf="!newIdProviderDiscovered()" class="my-2 col-lg-4">
-        <input placeholder="user@example.com" [(ngModel)]="webfingerEmail">
-        <button *ngIf="!newIdProviderDiscovered()" class="btn btn-primary 
fhg-link" (click)="discoverIdProvider()" >
-          <span class="fa fa-search"></span> 
{{getMessage("edit_credentials_html@checkCompatability")}}
-        </button>
-      </div>
-      <!--Description-->
-      <!--Link account-->
-      <div *ngIf="newIdProviderDiscovered() && !loggedIn()" class="mb-3 px-2">
-          <div class="mx-n2" 
>{{getMessage("edit_credentials_html@availableClaims")}}</div>
-          <div *ngFor="let scope of scopes" class="mx-2">
-            <i class="fa text-primary" [class.fa-toggle-off]="!scope.chosen" 
[class.fa-toggle-on]="scope.chosen" 
[class.text-muted]="necessaryScope(scope.scope)" 
(click)="!necessaryScope(scope.scope) && scope.chosen = !scope.chosen"></i>
-            <span class="ml-1" 
[class.text-muted]="necessaryScope(scope.scope)">{{scope.scope}}</span>
-            <!--<input type="checkbox" class="form-check-input" id="scopes" 
[disabled]="necessaryScope(scope.scope)" [(ngModel)]="scope.chosen">-->
-            <!--<label class="form-check-label" 
for="scope.chosen">{{scope.scope}}</label>-->
-          </div>
-        <button class="btn btn-primary mb-1 mt-2 fhg-link" 
(click)="loginFhgAccount()" >
-          <span class="fa fa-link"></span> 
{{getMessage("edit_credentials_html@link")}}
-        </button>
-        <button class="btn btn-primary mb-1 fhg-link" 
(click)="cancelLinking()" >
-          <span class="fa fa-close"></span> {{getMessage("Cancel")}}
-        </button>
-      </div>
-    </div>
-    <hr />
-
-    <h3 >{{getMessage("edit_credentials_html@credentials")}}</h3>
-    <!-- Credential creation warning -->
-    <div
-      *ngIf="loggedIn() && !credentialNameValid(newCredential) || 
!credentialTypeValid(newCredential) || !credentialValueValid(newCredential)"
-      class="alert alert-primary alert-dismissible fade show" role="alert" >
-      <span class="fa fa-warning"></span> {{getMessage("Note")}}
-      <ul>
-        <li>{{getMessage("edit_credentials_html@note1")}}</li>
-        <li>{{getMessage("edit_credentials_html@note2")}}</li>
-        <li>{{getMessage("edit_credentials_html@note3")}}</li>
-      </ul>
+    <div class="alert alert-secondary" *ngIf="credentials.length == 0">
+      No credentials found for {{ identity.name }}
     </div>
-
+    <h3 *ngIf="credentials.length > 
0">{{getMessage("edit_credentials_html@credentials")}}</h3>
     <!-- Requested credential -->
-    <table class="table pb-1" style="">
+    <table class="table pb-1" style="" *ngIf="credentials.length > 0">
       <thead>
         <tr>
           <th >{{getMessage("edit_credentials_html@name")}}</th>

-- 
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]