starting up

This commit is contained in:
Rushabh Mehta 2012-01-25 11:04:54 +05:30
parent a8ad3907db
commit 9c7a01ade9
4 changed files with 10 additions and 7 deletions

View File

@ -11,6 +11,8 @@ erpnext.startup.set_globals = function() {
}
erpnext.startup.start = function() {
$('#startup_div').html('Starting up...').toggle(true);
erpnext.startup.set_globals();
if(user == 'Guest'){
@ -33,6 +35,7 @@ erpnext.startup.start = function() {
$('footer').html('<div class="erpnext-footer">\
Powered by <a href="https://erpnext.com">ERPNext</a></div>');
$('#startup_div').toggle(false);
}
// chart of accounts

View File

@ -1,17 +1,17 @@
#!python
from webnotes.model.doc import getsingle
from jinja2 import Template
home_settings = getsingle('Home Settings')
html= """
temp = Template("""
<div class="layout_wrapper">
<div id="content-home">
%(banner_html)s
{{ home_settings.banner_html }}
</div>
</div>
""" % home_settings
""")
out = {
"content": html
"content": temp.render(home_settings = getsingle('Home Settings'))
}

View File

@ -3,7 +3,7 @@
<meta charset="utf-8">
<title>ERPNext</title>
<meta name="author" content="">
<script type="text/javascript">window._version_number="191";
<script type="text/javascript">window._version_number="192";
/*
* lib/js/wn/class.js

View File

@ -1 +1 @@
191
192