gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 65/459: html template updated


From: gnunet
Subject: [reclaim-ui] 65/459: html template updated
Date: Fri, 11 Jun 2021 23:22:37 +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 416831a44e7f23c658486fc265c97d4535efbfb5
Author: Alexia Pagkopoulou <a.pagkopoulou@tum.de>
AuthorDate: Tue May 21 16:54:57 2019 +0200

    html template updated
---
 src/app/identity-list/identity-list.component.html | 8 ++++++++
 src/app/identity-list/identity-list.component.ts   | 6 +++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/app/identity-list/identity-list.component.html 
b/src/app/identity-list/identity-list.component.html
index bdaf08c..edaed48 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -8,12 +8,20 @@
     <span class="fa fa-ban"></span> Do not share information and return to 
website
   </button>
 </div>
+
+<div *ngIf="!isConnected(); else emptyIdList" 
+               style="text-align: center;" class="alert alert-danger 
alert-dismissible fade show" role="alert">
+GNUnet is dead, rip.<br/><br/>
+</div>
+
+<ng-template #emptyIdList>
 <div *ngIf="0 == identities.length && !isAddIdentity()" style="text-align: 
center;" class="alert alert-secondary alert-dismissible fade show" role="alert">
   You don't have any identities yet.<br/><br/>
   <button class="btn btn-primary" (click)="addIdentity()">
     <span class="fa fa-plus"></span> Add your first identity!
   </button>
 </div>
+</ng-template>
 
 <div class="card" *ngIf="(null != identityInEdit) && !isAddIdentity()">
   <div class="card-avatar card-img-top">
diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index 292790b..cbaab32 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -485,5 +485,9 @@ export class IdentityListComponent implements OnInit {
         this.updateTickets(identity);
       });
     });
-  }
+       }
+
+       isConnected() {
+               //TODO
+       }
 }

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