From 67e0374261b2d83878f2a706c07d0cd137b6029c Mon Sep 17 00:00:00 2001 From: Prateeksha Singh Date: Thu, 23 Aug 2018 22:42:41 +0530 Subject: [PATCH] [hub] add data-driven notification message --- .../public/js/hub/components/EmptyState.vue | 16 ++++++++++- .../js/hub/components/NotificationMessage.vue | 28 +++++++++++++++---- .../public/js/hub/components/PublishPage.vue | 23 +++++++++++++-- .../js/hub/components/notification_message.js | 20 ------------- erpnext/public/js/hub/pages/publish.js | 12 ++++---- erpnext/public/js/hub/pages/subpage.js | 6 ---- erpnext/public/less/hub.less | 26 ----------------- 7 files changed, 65 insertions(+), 66 deletions(-) delete mode 100644 erpnext/public/js/hub/components/notification_message.js diff --git a/erpnext/public/js/hub/components/EmptyState.vue b/erpnext/public/js/hub/components/EmptyState.vue index 3e0cb0ea16..1f36c3c75b 100644 --- a/erpnext/public/js/hub/components/EmptyState.vue +++ b/erpnext/public/js/hub/components/EmptyState.vue @@ -20,4 +20,18 @@ export default { } - + diff --git a/erpnext/public/js/hub/components/NotificationMessage.vue b/erpnext/public/js/hub/components/NotificationMessage.vue index c77f15e82f..c26672635c 100644 --- a/erpnext/public/js/hub/components/NotificationMessage.vue +++ b/erpnext/public/js/hub/components/NotificationMessage.vue @@ -1,8 +1,11 @@ @@ -10,11 +13,26 @@ - + diff --git a/erpnext/public/js/hub/components/PublishPage.vue b/erpnext/public/js/hub/components/PublishPage.vue index 670f010226..2eaf2951d4 100644 --- a/erpnext/public/js/hub/components/PublishPage.vue +++ b/erpnext/public/js/hub/components/PublishPage.vue @@ -3,6 +3,12 @@ class="marketplace-page" :data-page-name="page_name" > + +
{{ page_title }}
@@ -41,6 +47,7 @@