gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 287/459: add danger


From: gnunet
Subject: [reclaim-ui] 287/459: add danger
Date: Fri, 11 Jun 2021 23:26:19 +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 9b7e6ebe7e73fd45ce70239c7788a02a0183e400
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Fri Aug 7 21:35:29 2020 +0200

    add danger
---
 src/app/identity-list/identity-list.component.html | 25 +++++++++++-----------
 1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/src/app/identity-list/identity-list.component.html 
b/src/app/identity-list/identity-list.component.html
index 59f4d7a..35ef699 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -130,24 +130,23 @@
           </tbody>
         </table>
       </div>
-      <div style="margin-bottom: 1em; font-size: 1.5em" *ngIf="(0 < 
attributes[identity.pubkey]?.length) && inOpenIdFlow()">
-        <span class="text-primary">Attributes marked with <span class="fa 
fa-openid" ></span> will be shared.</span>
-        <span (click)="toggleSharingInfo(identity)" class="fa 
fa-question-circle ml-1"></span><br/>
-        <div class="alert alert-secondary fade show" 
*ngIf="isSharingInfoOpened(identity)">
-          Be careful when sharing personal data with third parties!<br>
-          If you do not want to share information from this identity, you may
-          decline the request or choose a different identity.<br/>
-          You may permanently remove information from the identity before
-          sharing.
-        </div>
 
       </div>
     </div>
-    <div>
-      <button *ngIf="inOpenIdFlow()" [disabled]="!isClientVerified()" 
(click)="loginIdentity(identity)" class="btn btn-primary mr-1 openid-login">
-        <span *ngIf="isClientVerified()"><i class="fa fa-openid"></i> Share 
information from this identity</span>
+    <div *ngIf="inOpenIdFlow()">
+      <button [disabled]="!isClientVerified()" 
(click)="loginIdentity(identity)" class="btn btn-primary mr-1 openid-login">
+        <span class="text-primary" *ngIf="isClientVerified()"><i class="fa 
fa-openid"></i> Share information from this identity</span>
         <span *ngIf="!isClientVerified()"><i class="fa 
fa-exclamation-circle"></i> Sharing disabled</span>
       </button>
+      <div style="margin-bottom: 1em; font-size: 1.5em" *ngIf="(0 < 
attributes[identity.pubkey]?.length)">
+        <span (click)="toggleSharingInfo(identity)" class="fa 
fa-exclamation-triangle ml-2 text-danger"></span><br/>
+        <div class="alert alert-warning fade show" 
*ngIf="isSharingInfoOpened(identity)">
+          Be careful when sharing personal data with third parties!<br>
+          If you do not want to share information from this identity, you may
+          decline the request or choose a different identity.<br/>
+          You may permanently remove information from the identity before
+          sharing.
+       </div>
     </div>
   </div>
 

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