From 780f64ed8575881f52b8fb5bc0a9f423f1740024 Mon Sep 17 00:00:00 2001
From: blavenie <benoit.lavenier@e-is.pro>
Date: Sat, 11 Feb 2017 12:19:58 +0100
Subject: [PATCH] - wallet/identity view: add sentry icon (over certification
 icon) - certifications view: add pubkey under the identity name

---
 www/templates/wallet/view_wallet.html         | 1 +
 www/templates/wot/view_certifications_lg.html | 3 +++
 www/templates/wot/view_identity.html          | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/www/templates/wallet/view_wallet.html b/www/templates/wallet/view_wallet.html
index 75c2783c8..50bf806e7 100644
--- a/www/templates/wallet/view_wallet.html
+++ b/www/templates/wallet/view_wallet.html
@@ -102,6 +102,7 @@
              ng-if="walletData.isMember||walletData.requirements.pendingMembership"
              ng-click="showCertifications()">
             <i class="icon ion-ribbon-b"></i>
+            <b ng-if="walletData.requirements.isSentry" class="ion-star icon-secondary" style="color: yellow; font-size: 16px; left: 25px; top: -7px;"></b>
             {{:locale:'ACCOUNT.CERTIFICATION_COUNT'|translate}}
             <cs-badge-certification requirements="walletData.requirements"
                                     parameters="{sigQty: walletData.parameters.sigQty}">
diff --git a/www/templates/wot/view_certifications_lg.html b/www/templates/wot/view_certifications_lg.html
index 20e2e26ac..950c54fba 100644
--- a/www/templates/wot/view_certifications_lg.html
+++ b/www/templates/wot/view_certifications_lg.html
@@ -65,6 +65,9 @@
                   ng-class="{'positive': formData.isMember, 'gray': !formData.isMember}">
                   {{::formData.name||formData.uid}}
                 </h4>
+                <h5 class="text-center gray">
+                  <i class="icon ion-key"></i> {{formData.pubkey|formatPubkey}}
+                </h5>
                 <h5 class="assertive" ng-if="(formData.name||formData.uid) && !formData.isMember" translate>WOT.NOT_MEMBER_PARENTHESIS</h5>
               </a>
             </div>
diff --git a/www/templates/wot/view_identity.html b/www/templates/wot/view_identity.html
index ad0bf0fb5..a5ff807f3 100644
--- a/www/templates/wot/view_identity.html
+++ b/www/templates/wot/view_identity.html
@@ -63,8 +63,8 @@
            ng-if="formData.hasSelf"
            ng-click="showCertifications()">
           <i class="icon ion-ribbon-b"></i>
+          <b ng-if="formData.requirements.isSentry" class="ion-star icon-secondary" style="color: yellow; font-size: 16px; left: 25px; top: -7px;"></b>
           <span translate>ACCOUNT.CERTIFICATION_COUNT</span>
-
           <cs-badge-certification cs-id="helptip-wot-view-certifications-count"
                                   requirements="formData.requirements"
                                   parameters="{sigQty: formData.sigQty}">
-- 
GitLab