mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
starting up
This commit is contained in:
@@ -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'))
|
||||
}
|
||||
Reference in New Issue
Block a user