gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 396/459: relax attribute requirements


From: gnunet
Subject: [reclaim-ui] 396/459: relax attribute requirements
Date: Fri, 11 Jun 2021 23:28:08 +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 9ded085a2e988e9dc68e10a4fd3dfabc6cf32e2b
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Wed Dec 30 16:34:33 2020 +0900

    relax attribute requirements
---
 src/app/identity-list/identity-list.component.html | 8 +++-----
 src/locales/de/messages.json                       | 4 ++--
 src/locales/en/messages.json                       | 4 ++--
 3 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/app/identity-list/identity-list.component.html 
b/src/app/identity-list/identity-list.component.html
index 24cf3a7..9c9eb91 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -123,9 +123,7 @@
       {{ getMessage("identity_list_html@noAttributes1") }} <a 
class="buttonlink"
         [routerLink]="['/edit-identity', identity.name]">{{ 
getMessage("identity_list_html@noAttributes2") }}</a>
     </div>
-    <div [hidden]="!isAnyRequestedClaimMissing(identity)" class="alert 
alert-warning alert-dismissible fade show"
-      [class.alert-warning]="!isAnyRequiredClaimMissing(identity)"
-      [class.alert-danger]="isAnyRequiredClaimMissing(identity)" role="alert">
+    <div [hidden]="!isAnyRequestedClaimMissing(identity)" class="alert 
alert-warning alert-dismissible fade show" role="alert">
       <span class="fa fa-openid"></span> {{ 
getMessage("identity_list_html@missingInformation") }}
       <ul>
         <li *ngIf="isProfileRequested() && isProfileMissing(identity)"><b>{{ 
getProfileDescription() }}</b></li>
@@ -133,7 +131,7 @@
         <li *ngIf="isPhoneRequested() && isPhoneMissing(identity)"><b>{{ 
getPhoneDescription() }}</b></li>
         <li *ngIf="isAddressRequested() && isAddressMissing(identity)"><b>{{ 
getAddressDescription() }}</b></li>
         <li *ngFor="let attr of 
getMissingClaims(identity)"><b>{{attr.name}}</b><i>
-            ({{ getMessage("identity_list_html@required") }})</i></li>
+            ({{ getMessage("identity_list_html@essential") }})</i></li>
       </ul>
       <button class="btn btn-primary" [routerLink]="['/edit-identity', 
identity.name]">
         <span class="fa fa-edit"></span> {{ 
getMessage("identity_list_html@editId") }}
@@ -180,7 +178,7 @@
       </div>
     </div>
     <div *ngIf="inOpenIdFlow()">
-      <button [disabled]="!isClientVerified() || 
isAnyRequiredClaimMissing(identity)" (click)="loginIdentity(identity)"
+      <button [disabled]="!isClientVerified()" 
(click)="loginIdentity(identity)"
         class="btn btn-primary mr-1 openid-login">
         <span *ngIf="isClientVerified()">{{ 
getMessage("identity_list_html@shareInfo1") }} <i
             class="fa fa-openid text-primary"></i> {{ 
getMessage("identity_list_html@shareInfo2") }}</span>
diff --git a/src/locales/de/messages.json b/src/locales/de/messages.json
index c78b023..2cd94b1 100644
--- a/src/locales/de/messages.json
+++ b/src/locales/de/messages.json
@@ -89,8 +89,8 @@
     "identity_list_html@verifyDelete": "Willst du diese Identität wirklich 
löschen?",
     "identity_list_html@noAttributes1": "Diese Identität hat keine Attribute.",
     "identity_list_html@noAttributes2": "Füge welche hinzu?",
-    "identity_list_html@missingInformation": "Dieser Identität fehlen einige 
angefragte Informationen:",
-    "identity_list_html@required": "benötigt",
+    "identity_list_html@missingInformation": "Dieser Identität fehlen einige 
angefragte Attribute:",
+    "identity_list_html@essential": "benötigt",
     "identity_list_html@editId": "Identität ändern",
     "identity_list_html@moreAttributes": "… und {{ATTRIBUTENUMBER}} weitere 
Attribute",
     "identity_list_html@showAll": "Zeige alle Attribute",
diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json
index 617df70..b93d032 100644
--- a/src/locales/en/messages.json
+++ b/src/locales/en/messages.json
@@ -89,8 +89,8 @@
     "identity_list_html@verifyDelete": "Do you really want to delete this 
identity?",
     "identity_list_html@noAttributes1": "This identity has no attributes.",
     "identity_list_html@noAttributes2": "Maybe try adding some?",
-    "identity_list_html@missingInformation": "This identity is missing some 
requested information:",
-    "identity_list_html@required": "required",
+    "identity_list_html@missingInformation": "This identity is missing some 
essential information:",
+    "identity_list_html@essential": "essential",
     "identity_list_html@editId": "Edit identity",
     "identity_list_html@moreAttributes": "… and {{ATTRIBUTENUMBER}} more 
attributes",
     "identity_list_html@showAll": "Show all attributes",

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