From 96096cb96fd46661fe3b5be16740decc7fa0d9b2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 07 2020 15:58:46 +0000 Subject: [PATCH 1/3] Only enable the "Take" button once we know the package is active Otherwise the package may actually be retired and the "take" button will not work. Fixes https://pagure.io/pagure-dist-git/issue/99 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/themes/srcfpo/templates/repo_master_sidebar.html b/pagure/themes/srcfpo/templates/repo_master_sidebar.html index d2670bc..ff231fd 100644 --- a/pagure/themes/srcfpo/templates/repo_master_sidebar.html +++ b/pagure/themes/srcfpo/templates/repo_master_sidebar.html @@ -123,7 +123,7 @@
Orphaned:
From efe79432a9dfcc669432635e327692ec1817711c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 07 2020 16:47:51 +0000 Subject: [PATCH 3/3] Provide some feedback to the user when changing monitoring worked Basically, a small checked mark will appear next to the drop-down when the ajax request succeeded. Fixes https://pagure.io/pagure-dist-git/issue/79 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/themes/srcfpo/templates/repo_master_sidebar.html b/pagure/themes/srcfpo/templates/repo_master_sidebar.html index ff231fd..9a94910 100644 --- a/pagure/themes/srcfpo/templates/repo_master_sidebar.html +++ b/pagure/themes/srcfpo/templates/repo_master_sidebar.html @@ -108,6 +108,7 @@
+
{% else %}