diff --git a/index.html b/index.html
index f86ddb2a5..b4160f35a 100644
--- a/index.html
+++ b/index.html
@@ -123,19 +123,15 @@
-
+ >

+ />
{{c.nick}}
@@ -240,7 +236,7 @@
-
Select required number of signatures
+ Select required signatures
diff --git a/js/directives.js b/js/directives.js
index 1df4026d4..bbda156d6 100644
--- a/js/directives.js
+++ b/js/directives.js
@@ -89,12 +89,16 @@ angular.module('copay.directives')
});
}
}
- }).directive('confvideo', function($rootScope) {
+ }).directive('avatar', function($rootScope) {
return {
link: function(scope, element, attrs) {
- var peer = attrs.peer;
- element.addClass(($rootScope.wallet.getOnlinePeerIDs().indexOf(peer) != -1) ? 'online' : 'offline');
- var muted = $rootScope.getVideoMutedStatus(peer);
+ var peer = JSON.parse(attrs.peer)
+ var peerId = peer.peerId;
+ var nick = peer.nick;
+ element.addClass(($rootScope.wallet.getOnlinePeerIDs().indexOf(peerId) != -1) ? 'online' : 'offline');
+ element.addClass('video-small');
+ element.attr('title', peerId + (peerId == $rootScope.wallet.network.peerId?' (You)':''));
+ var muted = $rootScope.getVideoMutedStatus(peerId);
if (muted) {
element.attr("muted", true);
}