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

This commit is contained in:
Rushabh Mehta 2012-12-07 10:51:55 +01:00
commit 91e760ade1

View File

@ -17,4 +17,9 @@
pscript.onload_Setup = function(wrapper) {
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'Setup');
erpnext.module_page.hide_links(wrapper);
if(wn.boot.expires_on) {
$(wrapper).find(".layout-main")
.prepend("<div class='alert'>Your ERPNext account will expire on "
+ wn.datetime.global_date_format(wn.boot.expires_on) + "</div>");
}
}