gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 411/459: fix


From: gnunet
Subject: [reclaim-ui] 411/459: fix
Date: Fri, 11 Jun 2021 23:28:23 +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 8abf541b3eb971fc67eeea95ffaaa68c9aa375fc
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Tue Jan 5 21:59:11 2021 +0900

    fix
---
 src/app/app.component.html                         |  7 ++++++-
 src/app/edit-identity/edit-identity.component.html | 18 +++++++++++++-----
 src/locales/de/messages.json                       |  4 ++++
 src/locales/en/messages.json                       |  4 ++++
 src/styles.scss                                    |  9 +++++++++
 5 files changed, 36 insertions(+), 6 deletions(-)

diff --git a/src/app/app.component.html b/src/app/app.component.html
index 3877791..9205aef 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1,2 +1,7 @@
-<div class="logo"><img src="assets/reclaim_icon.png"/><button class="btn 
btn-primary" [routerLink]="['/config']" style="float:right;"><i class="fa 
fa-cog"></i></button></div>
+<div class="logo">
+  <img src="assets/reclaim_icon.png"/>
+  <button class="btn btn-primary" [routerLink]="['/config']" 
style="float:right;">
+    <i class="fa fa-cog"></i> {{ getMessage("Settings") }}
+  </button>
+</div>
 <router-outlet></router-outlet>
diff --git a/src/app/edit-identity/edit-identity.component.html 
b/src/app/edit-identity/edit-identity.component.html
index 7129dd0..a75569d 100644
--- a/src/app/edit-identity/edit-identity.component.html
+++ b/src/app/edit-identity/edit-identity.component.html
@@ -126,7 +126,7 @@
             </div>
             <div class="col-sm">
               <button [disabled]="!canAddAttribute(newRequestedAttribute)" 
class="btn btn-primary"  (click)="saveAttribute(newRequestedAttribute)">
-                <span class="fa fa-plus"></span>
+                <span class="fa fa-plus"></span> {{ getMessage("Add") }}
               </button>
             </div>
           </div>
@@ -174,7 +174,7 @@
               </div>
               <div class="col-sm">
                 <button [disabled]="!canAddAttribute(newStandardAttribute)" 
class="btn btn-primary"  (click)="saveAttribute(newStandardAttribute)">
-                  <span class="fa fa-plus"></span>
+                  <span class="fa fa-plus"></span> {{ getMessage("Add") }}
                 </button>
               </div>
             </div>
@@ -212,7 +212,7 @@
               </div>
               <div class="col-sm">
                 <button [disabled]="!canAddAttribute(newAttribute)" class="btn 
btn-primary"  (click)="saveAttribute(newAttribute)">
-                  <span class="fa fa-plus"></span>
+                  <span class="fa fa-plus"></span> {{ getMessage("Add") }}
                 </button>
               </div>
             </div>
@@ -229,6 +229,14 @@
                         class="card-subtitle mb-4"> 
{{getMessage("edit_identity_html@storedAttributes")}}</h3>
           <div *ngIf="attributes.length > 0"
                         class="table pb-1">
+            <div class="row head">
+              <div class="col-sm underline">{{getMessage("Name")}}</div>
+              <div class="col-sm underline">
+                <span>{{getMessage("Value")}}</span>
+                <span 
style="float:right">{{getMessage("edit_identity_html@attestedBy")}}</span>
+              </div>
+              <div class="col-sm"></div>
+            </div>
             <div class="row mb-3" [class.openid]="inOpenIdFlow()"
                  [class.inEdit]="claim == claimInEdit"
                  [class.text-primary]="isClaimRequested(claim)"
@@ -269,10 +277,10 @@
                   <span class="fa fa-save"></span>
                 </button>
                 <button class="btn btn-primary" (click)="editAttribute(claim)" 
*ngIf="claim != claimInEdit">
-                  <span class="fa fa-edit"></span>
+                  <span class="fa fa-edit"></span> {{ getMessage("Edit") }}
                 </button>
                 <button class="ml-2 btn btn-primary"  
(click)="deleteAttribute(claim)">
-                  <span class="fa fa-trash"></span>
+                  <span class="fa fa-trash"></span> {{ getMessage("Delete") }}
                 </button>
 
               </div>
diff --git a/src/locales/de/messages.json b/src/locales/de/messages.json
index fab1523..b390e6c 100644
--- a/src/locales/de/messages.json
+++ b/src/locales/de/messages.json
@@ -7,6 +7,9 @@
     "Back": "Zurück",
     "SaveAndBack": "Speichern und Zurück",
     "Delete": "Löschen",
+    "Edit": "Ändern",
+    "Add": "Hinzufügen",
+    "Settings": "Einstellungen",
     "Save": "Speichern",
     "Note": "Hinweis: ",
     "Value": "Wert",
@@ -70,6 +73,7 @@
     "edit_identity_html@selfissued": "Selbst ausgestellt",
     "edit_identity_html@importFrom": "Von ``{{ISSUERNAME}}´´ importieren",
     "edit_identity_html@identitySelection": "Identitätsauswahl",
+    "edit_identity_html@attestedBy": "Attestiert durch",
     "import_attributes_html@importFor": "Attribute für {{IDENTITYNAME}} 
importieren",
     "edit_identity_html@unset": "Nicht gesetzt",
     "edit_identity_html@attribute": "Attribut",
diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json
index d532bc2..72b5ec9 100644
--- a/src/locales/en/messages.json
+++ b/src/locales/en/messages.json
@@ -7,6 +7,9 @@
     "Back": "Back",
     "SaveAndBack": "Save and back",
     "Delete": "Delete",
+    "Edit": "Edit",
+    "Add": "Add",
+    "Settings": "Settings",
     "Save": "Save",
     "Note": "Note: ",
     "Value": "Value",
@@ -70,6 +73,7 @@
     "edit_identity_html@selfissued": "Self-issued",
     "edit_identity_html@importFrom": "Try import from ``{{ISSUERNAME}}''",
     "edit_identity_html@identitySelection": "Identity selection",
+    "edit_identity_html@attestedBy": "Attested by",
     "import_attributes_html@importFor": "Import attributes for 
{{IDENTITYNAME}}",
     "edit_identity_html@unset": "Unset",
     "edit_identity_html@attribute": "Attribute",
diff --git a/src/styles.scss b/src/styles.scss
index da45fee..5802f79 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -97,6 +97,15 @@ div.card-avatar-id {
    color: #eee;
 }
 
+.row.head {
+  color: #333;
+  margin-bottom: 1em;
+}
+
+.col-sm.underline {
+  border-bottom: 1px solid #555;
+}
+
 .card.identity-new {
   background: none;
   border: 1px dashed #555;

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