[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.
- [reclaim-ui] 375/459: blacklist some claims, (continued)
- [reclaim-ui] 375/459: blacklist some claims, gnunet, 2021/06/11
- [reclaim-ui] 378/459: update, gnunet, 2021/06/11
- [reclaim-ui] 379/459: minor, gnunet, 2021/06/11
- [reclaim-ui] 356/459: Merge branch 'master' of gitlab.com:reclaimid/ui, gnunet, 2021/06/11
- [reclaim-ui] 335/459: add template, gnunet, 2021/06/11
- [reclaim-ui] 391/459: fix requested attribute, gnunet, 2021/06/11
- [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 <=
- [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, 2021/06/11
- [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