From 822fd7747a89274580f4827260ddb9b754df8cc7 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 25 May 2015 10:51:01 +0530 Subject: [PATCH] [email] [website] footer cleanup --- erpnext/patches/v5_0/set_footer_address.py | 6 +++ erpnext/public/images/erpnext-footer.png | Bin 0 -> 2491 bytes .../includes/footer/footer_extension.html | 42 ++++++++++++++++++ .../includes/footer/footer_powered.html | 1 + 4 files changed, 49 insertions(+) create mode 100644 erpnext/patches/v5_0/set_footer_address.py create mode 100644 erpnext/public/images/erpnext-footer.png create mode 100644 erpnext/templates/includes/footer/footer_extension.html create mode 100644 erpnext/templates/includes/footer/footer_powered.html diff --git a/erpnext/patches/v5_0/set_footer_address.py b/erpnext/patches/v5_0/set_footer_address.py new file mode 100644 index 0000000000..5eb5624987 --- /dev/null +++ b/erpnext/patches/v5_0/set_footer_address.py @@ -0,0 +1,6 @@ +import frappe + +def execute(): + ss = frappe.get_doc("System Settings", "System Settings") + ss.email_footer_address = frappe.db.get_default("company") + ss.save() diff --git a/erpnext/public/images/erpnext-footer.png b/erpnext/public/images/erpnext-footer.png new file mode 100644 index 0000000000000000000000000000000000000000..4b36fa120c5f0a0324bd03b2d05e50269935c326 GIT binary patch literal 2491 zcmZ`*3piAH8$Zgeai@r+A(buWm~owB44I)(?i5Lk41e=ATP}$)$lz_#7*#LkOK=31r#-|_!EM^Q35;&X57!dp{g+Vi3}ha|AMG^8EM7G-UQM<9_%9G4mi1rR+x$l;N*Su~%|fj}@WE)ErEgJN@|Kr|MM z1+6h424e*?ta$M;e2Ty-hPQQjl8^HcX}kz7ox`WIW02B$DdFr`zO$K`)acW(oF|_i z`PnIk_n|DfKu{V1(I{(hH5pAn{~MV!^0zW-#HXq_v0SFCCTavoW71f(7(Nfyp;xto zd;3ZFe@O}`oMkgv6PIhlNi&B6XgoGER@#F7F?2p2gOe4s68_wgWfg(V;&5p^9xTJ# zeUQjwEBPUxZSW2sJ>HaCz%iJ(anlS$;Dm285v6bf216mI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frnhui+Nsg9ZIV(&&*c2Qb z{Io=EjUJFReWN}PQeQIwE#2w;^3U|80|~j{f+)Uw>8b&F(PZP2#=tv){zF2hlJt+t M)7^(y?nX}i9}2GEhyVZp literal 0 HcmV?d00001 diff --git a/erpnext/templates/includes/footer/footer_extension.html b/erpnext/templates/includes/footer/footer_extension.html new file mode 100644 index 0000000000..400043edbf --- /dev/null +++ b/erpnext/templates/includes/footer/footer_extension.html @@ -0,0 +1,42 @@ +{% if not hide_footer_signup %} +
+
+
+ + +
+
+ +
+ +{% endif %} diff --git a/erpnext/templates/includes/footer/footer_powered.html b/erpnext/templates/includes/footer/footer_powered.html new file mode 100644 index 0000000000..c44c34202c --- /dev/null +++ b/erpnext/templates/includes/footer/footer_powered.html @@ -0,0 +1 @@ +