[IMP] Removed hard-coded AMIGrAve's face from kanban view. Compute gravatar url using md5.

bzr revid: fme@openerp.com-20111025083743-d9g90sy1g9cx2ueg
This commit is contained in:
Fabien Meghazi 2011-10-25 10:37:43 +02:00
parent 44344a21b2
commit c68d851407
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
},
kanban_gravatar: function(email, size) {
size = size || 22;
var email_md5 = '2eb60ad22dadcf4dc456b28390a80268';
var email_md5 = $.md5(email);
return 'http://www.gravatar.com/avatar/' + email_md5 + '.png?s=' + size;
},
transform_qweb_template: function(node) {