lead list name bugfix

This commit is contained in:
Rushabh Mehta 2012-11-16 18:40:29 +05:30
parent 90ae802563
commit 2d231514e6

View File

@ -19,7 +19,7 @@ wn.doclistviews['Lead'] = wn.views.ListView.extend({
data.label_type = 'info'
}
data.status_html = repl('<span class="label label-%(label_type)s">%(status)s</span>', data);
data.lead_name = repl("<a href=\"#!Form/Lead/%(name)s\">%(name): %(lead_name)s</a>",
data.lead_name = repl("<a href=\"#!Form/Lead/%(name)s\">%(name)s: %(lead_name)s</a>",
data);
data.lead_status = (data.rating ? ('['+data.rating+'] ') : '') + '['+data.source+']';
},