From 0e0faaf89023b2b2b761f2c9d6c530fa1e16de0c Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Fri, 12 Apr 2019 22:05:58 +0530 Subject: [PATCH] fix: Remove leaderboard link from desktop (#7269) * fix: Remove leaderboard link from desktop * fix: Spacing in sidebar link --- frappe/config/desktop.py | 13 +------------ .../js/frappe/social/components/PostSidebar.vue | 6 +++++- frappe/public/less/social.less | 4 ++-- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/frappe/config/desktop.py b/frappe/config/desktop.py index 7e309fb0df..47cc024b64 100644 --- a/frappe/config/desktop.py +++ b/frappe/config/desktop.py @@ -98,16 +98,5 @@ def get_data(): 'standard': 1, 'idx': 15, "description": "Build your profile and share posts with other users." - }, - { - "module_name": 'leaderboard', - "category": "Places", - "label": _('Leaderboard'), - "icon": "octicon octicon-list-ordered", - "type": "link", - "link": "#social/users", - "color": '#FF4136', - 'standard': 1, - 'idx': 16 - }, + } ] diff --git a/frappe/public/js/frappe/social/components/PostSidebar.vue b/frappe/public/js/frappe/social/components/PostSidebar.vue index cef1e2d833..083cb4d49b 100644 --- a/frappe/public/js/frappe/social/components/PostSidebar.vue +++ b/frappe/public/js/frappe/social/components/PostSidebar.vue @@ -1,6 +1,6 @@