minor fix

This commit is contained in:
Rushabh Mehta 2012-02-29 15:23:25 +05:30
parent 1572adf7f7
commit 79ae16506b
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ erpnext.ActivityFeed = Class.extend({
data.add_class = "label-important";
}
if(date.feed_type=='Assignment') {
if(data.feed_type=='Assignment') {
data.add_class = "label-warning";
}

View File

@ -68,7 +68,7 @@ $.extend(wn.pages.users, {
if(data.file_list) {
data.imgsrc = 'files/' + data.file_list.split('\n')[0].split(',')[1];
} else {
data.imgsrc = 'lib/images/ui/no_img_' + (data.gender=='Female' ? 'f' : 'm');
data.imgsrc = 'lib/images/ui/no_img_' + (data.gender=='Female' ? 'f' : 'm') + '.gif';
}
data.fullname = wn.boot.user_fullnames[data.name];
data.delete_html = '';