diff --git a/patches/1311/p04_update_comments.py b/patches/1311/p04_update_comments.py new file mode 100644 index 00000000000..aefb7e7b245 --- /dev/null +++ b/patches/1311/p04_update_comments.py @@ -0,0 +1,8 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors +# License: GNU General Public License v3. See license.txt + +def execute(): + import webnotes + for name in webnotes.conn.sql_list("""select name from tabComment"""): + webnotes.get_obj("Comment", name).update_comment_in_doc() + \ No newline at end of file diff --git a/patches/1311/p05_website_brand_html.py b/patches/1311/p05_website_brand_html.py new file mode 100644 index 00000000000..04d2f83aaf2 --- /dev/null +++ b/patches/1311/p05_website_brand_html.py @@ -0,0 +1,16 @@ +# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors +# License: GNU General Public License v3. See license.txt + +from __future__ import unicode_literals +import webnotes + +def execute(): + bean = webnotes.bean("Website Settings") + for company in webnotes.conn.sql_list("select name from `tabCompany`"): + if bean.doc.banner_html == ("""

""" + company + "

"): + bean.doc.banner_html = None + if not bean.doc.brand_html: + bean.doc.brand_html = company + + bean.save() + break \ No newline at end of file diff --git a/patches/patch_list.py b/patches/patch_list.py index f8faa44b9c6..ad7bd4f095b 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -245,9 +245,11 @@ patch_list = [ "execute:webnotes.reload_doc('core', 'doctype', 'comment') #2013-11-15", "patches.1311.p02_index_singles", "patches.1311.p01_make_gl_entries_for_si", - "patches.1311.p03_update_reqd_report_fields", + "patches.1311.p03_update_reqd_report_fields", "execute:webnotes.reload_doc('website', 'doctype', 'website_sitemap_config') #2013-11-20", "execute:webnotes.reload_doc('website', 'doctype', 'website_sitemap') #2013-11-20", "execute:webnotes.bean('Style Settings').save() #2013-11-20", - "execute:webnotes.get_module('website.doctype.website_sitemap_config.website_sitemap_config').rebuild_website_sitemap_config()", + "execute:webnotes.get_module('website.doctype.website_sitemap_config.website_sitemap_config').rebuild_website_sitemap_config()", + "patches.1311.p04_update_comments", + "patches.1311.p05_website_brand_html", ] \ No newline at end of file diff --git a/portal/templates/includes/footer.html b/portal/templates/includes/footer.html index 6963175d913..cd75fd16f63 100644 --- a/portal/templates/includes/footer.html +++ b/portal/templates/includes/footer.html @@ -1,16 +1,18 @@ {% extends "lib/website/templates/includes/footer.html" %} -{% block powered %}ERPNext Powered{% endblock %} +{% block powered %}ERPNext Powered{% endblock %} {% block extension %} -
-
- - - - +
+
+
+ + + + +
+
-
{% include "app/stock/doctype/item/templates/includes/product_search_box.html" %} -
+

Search Results

diff --git a/support/doctype/support_ticket/templates/pages/ticket.html b/support/doctype/support_ticket/templates/pages/ticket.html index 4b41dc21e96..1732e770cb1 100644 --- a/support/doctype/support_ticket/templates/pages/ticket.html +++ b/support/doctype/support_ticket/templates/pages/ticket.html @@ -9,7 +9,7 @@ } %} {% block content %} -
+