gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 140/459: fix for issue #16


From: gnunet
Subject: [reclaim-ui] 140/459: fix for issue #16
Date: Fri, 11 Jun 2021 23:23:52 +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 9c42d508203f8eccca6f350e330dc62882fb2f09
Author: Alexia Pagkopoulou <a.pagkopoulou@tum.de>
AuthorDate: Fri Jul 19 10:55:47 2019 +0200

    fix for issue #16
---
 src/app/identity-list/identity-list.component.html | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/app/identity-list/identity-list.component.html 
b/src/app/identity-list/identity-list.component.html
index 1bf3b10..30a5d1f 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -193,7 +193,7 @@
       <button class="btn btn-primary" 
(click)="saveIdentityAttributes(identityInEdit)" 
[disabled]="!canSaveIdentity(identityInEdit)">
         <span class="fa fa-save"></span> Save and Back
       </button>
-      <button *ngIf="(0 < tickets[identityInEdit.pubkey]?.length) && 
!inOpenIdFlow()" class="btn btn-primary" 
(click)="toggleShowTickets(identityInEdit)" [style.float]="'right'">
+        <button *ngIf="(0 < tickets[identityInEdit.pubkey]?.length) && 
!inOpenIdFlow()" class="btn btn-primary" 
(click)="toggleShowTickets(identityInEdit)" [style.float]="'right'">
         <span class="fa fa-openid"></span>
         <span *ngIf="identityInEdit == showTicketsIdentity">Hide</span>
         <span *ngIf="identityInEdit != showTicketsIdentity">Show</span> 
@@ -246,6 +246,7 @@
       </button>
     </div>
     <div class="card-body">
+      <!-- Attribute table --> 
       <div>
         <h6 class="card-subtitle mb-2" *ngIf="hasAttributes(identity)">
           <strong>Information:</strong>
@@ -258,7 +259,8 @@
                 <div style="min-width: 15em">{{attribute.name}}</div>
               </td>
               <td>
-                <div style="min-width: 15em">{{attribute.value}}</div>
+                <div *ngIf="attribute.value.length <= 10" style="min-width: 
15em">{{attribute.value}}</div>
+                <div *ngIf="attribute.value.length > 10" style="min-width: 
15em">{{attribute.value.substring(0, 10)}}[...]</div>
               </td>
               <td>
                 <div style="min-width: 8em; text-align: center;">

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