From a25ca898bb50efe6ba3436be5afcf433a8d06300 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Jan 18 2016 09:55:59 +0000 Subject: made the forks section look the same as the repos section --- diff --git a/pagure/templates/index_auth.html b/pagure/templates/index_auth.html index 7f689fa..c3d07bd 100644 --- a/pagure/templates/index_auth.html +++ b/pagure/templates/index_auth.html @@ -37,7 +37,7 @@
{% if repo.open_tickets_public == 0 %} - {{- repo.open_tickets_public }} @@ -52,7 +52,7 @@ {% endif %} {% if repo.open_requests == 0 %} - {{- repo.open_requests}} @@ -76,7 +76,64 @@
{% endif %} - {{ render_repos_as_card(forks, forks_length,'Forks', 'forkpage', forkpage, total_page_forks) }} + +
+
+ My Forks {{forks | count}} +
+ {% if forks %} +
+ {% for fork in forks %} +
+ {% if fork.is_fork %} + {% set url = url_for('view_repo', username=fork.user.username, repo=fork.name) %} + {% else %} + {% set url = url_for('view_repo', repo=fork.name) %} + {% endif %} + + + {{ fork.name }} + +
+ {% if fork.open_tickets_public == 0 %} + + + {{- fork.open_tickets_public }} + + {% else %} + + + {{- fork.open_tickets_public }} + + {% endif %} + + {% if fork.open_requests == 0 %} + + + {{- fork.open_requests}} + + {% else %} + + + {{- fork.open_requests}} + + {% endif %} +
+
+ {% endfor %} +
+ {% else %} +
+

You have no forks

+
+ {% endif %} +