From a6029d38405a460a857339e24f17a87f7b11db76 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 24 2015 09:22:02 +0000 Subject: Add a `New Project` button on the page listing all the projects --- diff --git a/pagure/templates/_render_repo.html b/pagure/templates/_render_repo.html index 323a792..62e8f93 100644 --- a/pagure/templates/_render_repo.html +++ b/pagure/templates/_render_repo.html @@ -61,9 +61,20 @@ {% macro render_repos( - list, total, pagetitle, page, title, count, id, username=None, hide=True) %} -
-

{{ title }} {{ count }}

+ list, total, pagetitle, page, title, count, id, + username=None, hide=True) %} + +
+

{{ title }} + {{ count }} + {% if username %} + + + + {% endif %} +

{% if total and total > 1 %} {{ pagination_link(pagetitle, page, total) }} {% endif %}