From 2e9a723ddcac7d30477cc48b006bb77200c86c11 Mon Sep 17 00:00:00 2001
From: Benoit Lavenier <benoit.lavenier@e-is.pro>
Date: Mon, 14 Dec 2020 19:08:03 +0100
Subject: [PATCH] [fix] Replace url /app/wot by /app/user [fix] Remove used of
 uid in view state [enh] Enable gallery slide show [enh] Better layout for
 left menu

---
 .../common/item_comment_content.html          | 26 ++++++++-----------
 1 file changed, 11 insertions(+), 15 deletions(-)

diff --git a/www/plugins/es/templates/common/item_comment_content.html b/www/plugins/es/templates/common/item_comment_content.html
index d58df1487..9e89359fe 100644
--- a/www/plugins/es/templates/common/item_comment_content.html
+++ b/www/plugins/es/templates/common/item_comment_content.html
@@ -1,21 +1,17 @@
 
 <div class="item item-avatar done in">
-    <span class="avatar"
-          ng-if="::!comment.avatar"
-          ng-class="::{'avatar-member': comment.uid, 'avatar-wallet': !comment.uid}"></span>
-  <span class="avatar"
-        ng-if="::comment.avatar"
-        style="background-image: url({{::comment.avatar.src}})"></span>
+  <span class="avatar avatar-member" ng-if="::!comment.avatar"></span>
+  <span class="avatar" ng-if="::comment.avatar" style="background-image: url({{::comment.avatar.src}})"></span>
 
-    <a class="pull-left"
-       ui-sref="app.wot_identity({pubkey:comment.issuer, uid: comment.uid})">
-      <span class="positive" ng-if="::comment.uid">
-        {{::comment.name||comment.uid}}
-      </span>
-      <span ng-if="::!comment.uid" class="gray">
-        <i class="icon ion-key gray"></i>
-        {{::comment.name || (comment.issuer|formatPubkey)}}
-      </span>
+  <a class="pull-left"
+     ui-sref="app.user_identity({pubkey:comment.issuer, name: comment.name})">
+    <span class="positive" ng-if="::comment.name">
+      {{::comment.name}}
+    </span>
+    <span ng-if="::!comment.name" class="gray">
+      <i class="icon ion-key gray"></i>
+      {{::comment.name || (comment.issuer|formatPubkey)}}
+    </span>
   </a>&nbsp;
   <span trust-as-html="comment.html"></span>
 </div>
-- 
GitLab