From f9bea3948395ffc455b0f67d7494bc248e2da981 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 29 Aug 2016 21:23:02 +0530 Subject: [PATCH] monkeysphere: Handle unavailable imported domains After a domain has been imported into a key and later the domain is removed, handle the case properly. - Show the Add Domains button only if there are domains that can be imported. - Show domains that have been imported into a key but not available in the system specially. - Sort list of domains shown. --- .../monkeysphere/templates/monkeysphere.html | 22 +++++++++++-------- plinth/modules/monkeysphere/views.py | 11 +++++----- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/plinth/modules/monkeysphere/templates/monkeysphere.html b/plinth/modules/monkeysphere/templates/monkeysphere.html index 4dd4c5ea2..13e6ddc7d 100644 --- a/plinth/modules/monkeysphere/templates/monkeysphere.html +++ b/plinth/modules/monkeysphere/templates/monkeysphere.html @@ -91,16 +91,20 @@