[ux] fixes to timeline

This commit is contained in:
Rushabh Mehta
2014-08-14 11:43:27 +05:30
parent ab8bde0149
commit 0d0f5f6c25
4 changed files with 46 additions and 39 deletions

View File

@@ -24,9 +24,9 @@ frappe.pages['activity'].onload = function(wrapper) {
// Build Report Button
if(frappe.boot.user.can_get_report.indexOf("Feed")!=-1) {
wrapper.appframe.add_primary_action(__('Build Report'), function() {
wrapper.appframe.add_button(__('Build Report'), function() {
frappe.set_route('Report', "Feed");
}, 'icon-th', true);
}, 'icon-th');
}
}
@@ -81,7 +81,7 @@ erpnext.ActivityFeed = Class.extend({
} else {
pdate = dateutil.global_date_format(date);
}
$(row).html(repl('<div class="date-sep">%(date)s</div>', {date: pdate}));
$(row).html(repl('<div class="date-sep" style="padding-left: 15px;">%(date)s</div>', {date: pdate}));
}
erpnext.last_feed_date = date;
}