From 84adf1bb7f9defc4a57e6b345484219621948d83 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 28 Dec 2012 10:30:46 +0530 Subject: [PATCH] page refresh title issue fixed --- home/page/desktop/desktop.js | 1 + website/css/website.css | 7 ++----- website/templates/html/product_group.html | 2 ++ website/templates/pages/about.html | 2 +- website/templates/pages/contact.html | 22 ++++++++++++---------- 5 files changed, 18 insertions(+), 16 deletions(-) diff --git a/home/page/desktop/desktop.js b/home/page/desktop/desktop.js index fc5f22bede8..70bd656c017 100644 --- a/home/page/desktop/desktop.js +++ b/home/page/desktop/desktop.js @@ -15,6 +15,7 @@ erpnext.desktop.refresh = function() { } erpnext.desktop.render = function() { + document.title = "Desktop"; var add_icon = function(m) { var module = wn.modules[m]; if(!module.label) diff --git a/website/css/website.css b/website/css/website.css index daf03189940..d1be219caa6 100644 --- a/website/css/website.css +++ b/website/css/website.css @@ -18,7 +18,7 @@ div#body_div { } p, li { - line-height: 1.6em; + line-height: 1.5em; } .layout-wrapper { @@ -30,10 +30,7 @@ p, li { .layout-main { min-height: 400px; -} - -.layout-side-section { - padding: 8px; + padding: 30px; } .web-footer-menu { diff --git a/website/templates/html/product_group.html b/website/templates/html/product_group.html index feebafe856a..a5038821afc 100644 --- a/website/templates/html/product_group.html +++ b/website/templates/html/product_group.html @@ -36,6 +36,8 @@ {% endfor %} + {% else %} +
No items listed.
{% endif %} diff --git a/website/templates/pages/about.html b/website/templates/pages/about.html index 669aed944c6..7ccfa77769e 100644 --- a/website/templates/pages/about.html +++ b/website/templates/pages/about.html @@ -7,7 +7,7 @@ About Us {% block content %}
- {{ obj.doc.company_introduction or "Some Introduction about your company that you would like your website visitor to know. More people than you think will read your About page. People always like to know who the are doing business with. Be authentic and avoid using jargon like 'value added services' etc. Be sure to update your company history and list of key team members in Website > About Us Settings" }} + {{ obj.doc.company_introduction or "

About Us

Some Introduction about your company that you would like your website visitor to know. More people than you think will read your About page. People always like to know who the are doing business with. Be authentic and avoid using jargon like 'value added services' etc. Be sure to update your company history and list of key team members in Website > About Us Settings

" }} {% if obj.doclist.get({"doctype":"Company History"}) %}

{{ obj.doc.company_history_heading or "Company History" }}

diff --git a/website/templates/pages/contact.html b/website/templates/pages/contact.html index e5ba27c5fb9..005d36a6818 100644 --- a/website/templates/pages/contact.html +++ b/website/templates/pages/contact.html @@ -10,13 +10,15 @@ Contact Us {% block content %}
-
+
{{ obj.doc.introduction or "

Contact Us

"}} -
+
+
+