From 906c2babaaa7e751c88ce32bfd16cd0f4a8eb084 Mon Sep 17 00:00:00 2001
From: Anand Doshi
Date: Fri, 17 Jul 2015 15:11:24 +0530
Subject: [PATCH 1/2] [ui] Show ERPNext icon instead of ERPNext in navbar
---
erpnext/public/css/erpnext.css | 5 ++++
erpnext/public/images/erp-icon.svg | 46 ++++++++++++++++++++++++++++++
erpnext/public/js/conf.js | 2 +-
erpnext/public/less/erpnext.less | 5 ++++
4 files changed, 57 insertions(+), 1 deletion(-)
create mode 100644 erpnext/public/images/erp-icon.svg
diff --git a/erpnext/public/css/erpnext.css b/erpnext/public/css/erpnext.css
index b5f2a2d1e2..3c286b162e 100644
--- a/erpnext/public/css/erpnext.css
+++ b/erpnext/public/css/erpnext.css
@@ -96,3 +96,8 @@
.pos .tax-table {
margin-bottom: 10px;
}
+.erpnext-icon {
+ width: 24px;
+ margin-right: 0px;
+ margin-top: -3px;
+}
diff --git a/erpnext/public/images/erp-icon.svg b/erpnext/public/images/erp-icon.svg
new file mode 100644
index 0000000000..b4e2a24b4e
--- /dev/null
+++ b/erpnext/public/images/erp-icon.svg
@@ -0,0 +1,46 @@
+
+
+
+
diff --git a/erpnext/public/js/conf.js b/erpnext/public/js/conf.js
index 626401929a..af06b33f58 100644
--- a/erpnext/public/js/conf.js
+++ b/erpnext/public/js/conf.js
@@ -11,7 +11,7 @@ $(document).bind('toolbar_setup', function() {
href="https://discuss.erpnext.com">Feedback
'
- $('.navbar-home').html('ERPNext');
+ $('.navbar-home').html('
');
$('[data-link="docs"]').attr("href", "https://manual.erpnext.com")
});
diff --git a/erpnext/public/less/erpnext.less b/erpnext/public/less/erpnext.less
index 830902ad15..3f839ee305 100644
--- a/erpnext/public/less/erpnext.less
+++ b/erpnext/public/less/erpnext.less
@@ -120,3 +120,8 @@
margin-bottom: 10px;
}
+.erpnext-icon {
+ width: 24px;
+ margin-right: 0px;
+ margin-top: -3px;
+}
From 285135da8e97189d110f2fbbbfca396ec08d94f3 Mon Sep 17 00:00:00 2001
From: Anand Doshi
Date: Fri, 17 Jul 2015 15:13:32 +0530
Subject: [PATCH 2/2] [ui] Remove 'Stopped' alert banner in Sales Order
---
erpnext/selling/doctype/sales_order/sales_order.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/erpnext/selling/doctype/sales_order/sales_order.js b/erpnext/selling/doctype/sales_order/sales_order.js
index 7f0b3861e7..fcdae4d0b4 100644
--- a/erpnext/selling/doctype/sales_order/sales_order.js
+++ b/erpnext/selling/doctype/sales_order/sales_order.js
@@ -46,7 +46,6 @@ erpnext.selling.SalesOrderController = erpnext.selling.SellingController.extend(
} else {
// un-stop
- cur_frm.dashboard.set_headline_alert(__("Stopped"), "alert-danger", "icon-stop");
cur_frm.add_custom_button(__('Unstop'), cur_frm.cscript['Unstop Sales Order'], "icon-check");
}
}