Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Rushabh Mehta 2012-11-16 14:11:03 +01:00
commit 96a0378cdf

View File

@ -19,7 +19,7 @@ wn.doclistviews['Lead'] = wn.views.ListView.extend({
data.label_type = 'info' data.label_type = 'info'
} }
data.status_html = repl('<span class="label label-%(label_type)s">%(status)s</span>', data); 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);
data.lead_status = (data.rating ? ('['+data.rating+'] ') : '') + '['+data.source+']'; data.lead_status = (data.rating ? ('['+data.rating+'] ') : '') + '['+data.source+']';
}, },