diff --git a/www/plugins/es/templates/common/item_comment_content.html b/www/plugins/es/templates/common/item_comment_content.html index d58df1487bbafb44d7cb1a25ffb1801f601be84d..9e89359fee32ded7bf8306708e439e91a4361ce5 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> <span trust-as-html="comment.html"></span> </div>