From a27bf1ec20746fc613fffef2fb32b6a0a3d2cdfd Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Jan 06 2018 14:08:09 +0000 Subject: Move add milestone button to top of issues list Fixes #2860 Signed-off-by: Chenxiong Qi --- diff --git a/pagure/templates/issues.html b/pagure/templates/issues.html index b1b91f4..00e1605 100644 --- a/pagure/templates/issues.html +++ b/pagure/templates/issues.html @@ -19,13 +19,19 @@ {{ issues|count }} Issues (of {{ issues_cnt }}) {% endif %} + {% if g.repo_admin %} + + Add milestone + + {% endif %} {% if repo.milestones %} - + namespace=repo.namespace) }}" class="btn btn-secondary btn-sm"> + Roadmap {% endif %} {% if g.repo.reports %} @@ -48,6 +54,28 @@ {% endif %} + + {% if g.repo_admin %} + + {% endif %} + {% if oth_issues_cnt %}
Save report -
- {% endif %} {{ pagination_link('page', g.page, total_page) }}