From d822ca4b441cef0286ebed0bdaae847559c6c150 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 03 2019 16:23:27 +0000 Subject: Add a button to take maintenance of orphaned packages in dist-git --- diff --git a/pagure/themes/srcfpo/templates/repo_info.html b/pagure/themes/srcfpo/templates/repo_info.html index db713d7..c9d07aa 100644 --- a/pagure/themes/srcfpo/templates/repo_info.html +++ b/pagure/themes/srcfpo/templates/repo_info.html @@ -104,7 +104,8 @@
Created {{repo.date_created|humanize}}
Maintained by - + {{- repo.user.user -}}
diff --git a/pagure/themes/srcfpo/templates/repo_master_sidebar.html b/pagure/themes/srcfpo/templates/repo_master_sidebar.html index 5d31d3a..265946a 100644 --- a/pagure/themes/srcfpo/templates/repo_master_sidebar.html +++ b/pagure/themes/srcfpo/templates/repo_master_sidebar.html @@ -109,6 +109,21 @@ + {% if g.authenticated and repo.user.user == "orphan" %} +
+
+

Orphaned:

+ +
+ {% endif %} + {% endif %}