use contact icon - fix text size - refactor recipient icon type
This commit is contained in:
parent
9472f095eb
commit
428a842459
9 changed files with 32 additions and 28 deletions
|
|
@ -12,10 +12,10 @@ angular.module('copayApp.directives')
|
|||
email: '@'
|
||||
},
|
||||
link: function(scope, el, attr) {
|
||||
if(typeof scope.email === "string"){
|
||||
if (typeof scope.email === "string") {
|
||||
scope.emailHash = md5.createHash(scope.email.toLowerCase() || '');
|
||||
}
|
||||
},
|
||||
template: '<img class="gravatar" alt="{{ name }}" height="{{ height }}" width="{{ width }}" src="https://secure.gravatar.com/avatar/{{ emailHash }}.jpg?s={{ width }}&d=identicon">'
|
||||
template: '<img class="gravatar" alt="{{ name }}" height="{{ height }}" width="{{ width }}" src="https://secure.gravatar.com/avatar/{{ emailHash }}.jpg?s={{ width }}&d=mm">'
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue