From 1e2a5f27e962567e86f3cdfda13402df587a7fd4 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 20 2018 08:06:45 +0000 Subject: Move the `Add Milestone` button near the top and fix the layout This commit makes all buttons at the top (roadmap, add milestone and report) aligned as they should be. Fixes https://pagure.io/pagure/issue/2860 Fixes https://pagure.io/pagure/pull-request/2895 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/issues.html b/pagure/templates/issues.html index 7cd71a7..32ea6d5 100644 --- a/pagure/templates/issues.html +++ b/pagure/templates/issues.html @@ -18,23 +18,28 @@ {% else %} {{ issues|count }} Issues (of {{ issues_cnt }}) {% endif %} - - {% if repo.milestones %} - - +
+ {% if repo.milestones %} + Roadmap + + {% endif %} + {% if g.repo_admin %} + + Add milestone - {% endif %} + {% endif %} {% if g.repo.reports %} -