From 63b26b0fadeda969da30c8af44647af285adb111 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 27 Dec 2016 13:23:11 +0530 Subject: [PATCH] [minor] added "Remove app" and updated app list, fixes #1558 --- frappe/data/app_listing/knowledge_base.json | 13 ---------- frappe/data/app_listing/poll.json | 13 ---------- .../page/applications/application_row.html | 6 +++-- frappe/desk/page/applications/applications.js | 24 ++++++++++++------- frappe/desk/page/applications/applications.py | 21 ++++++++++++++++ 5 files changed, 41 insertions(+), 36 deletions(-) delete mode 100644 frappe/data/app_listing/knowledge_base.json delete mode 100644 frappe/data/app_listing/poll.json diff --git a/frappe/data/app_listing/knowledge_base.json b/frappe/data/app_listing/knowledge_base.json deleted file mode 100644 index b93c0238d4..0000000000 --- a/frappe/data/app_listing/knowledge_base.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "app_url": "https://github.com/frappe/knowledge_base", - "app_name": "knowledge_base", - "app_icon": "fa fa-question-sign", - "app_color": "#4cd964", - "app_description": "Publish help articles by category on the portal", - "app_publisher": "Frappe", - "app_email": "hello@frappe.io", - "repo_url": "https://github.com/frappe/knowledge_base.git", - "app_title": "Knowledge Base", - "app_version": "0.1.0", - "app_category": "Portal" -} diff --git a/frappe/data/app_listing/poll.json b/frappe/data/app_listing/poll.json deleted file mode 100644 index 2e16376f34..0000000000 --- a/frappe/data/app_listing/poll.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "app_url": "https://github.com/frappe/poll", - "app_name": "poll", - "app_icon": "fa fa-ok-sign", - "app_color": "#4cd964", - "app_description": "Online poll for the website", - "app_publisher": "Frappe", - "app_email": "hello@frappe.io", - "repo_url": "https://github.com/frappe/poll.git", - "app_title": "Poll", - "app_version": "0.1.0", - "app_category": "Portal" -} diff --git a/frappe/desk/page/applications/application_row.html b/frappe/desk/page/applications/application_row.html index c428a4e274..6c79749ec2 100644 --- a/frappe/desk/page/applications/application_row.html +++ b/frappe/desk/page/applications/application_row.html @@ -7,8 +7,10 @@ {{ __("Website") }} {% if (app.installed) { %} - + {% } else { %}