starting up
This commit is contained in:
parent
a8ad3907db
commit
9c7a01ade9
@ -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
|
||||
|
@ -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'))
|
||||
}
|
@ -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
|
||||
|
@ -1 +1 @@
|
||||
191
|
||||
192
|
Loading…
x
Reference in New Issue
Block a user