diff --git a/pagure/templates/issues.html b/pagure/templates/issues.html index b8c5841..c7924b1 100644 --- a/pagure/templates/issues.html +++ b/pagure/templates/issues.html @@ -328,6 +328,10 @@ data-toggle="modal" data-target="#report_modal"> Save report +
+ {% endif %} {{ pagination_link('page', g.page, total_page) }} @@ -394,7 +416,13 @@ $(document).ready(function() { _b.hide(); _s.hide(); } + }); + $('.extend-form').click(function(e) { + const tgt = $(this).attr('data-target'); + let form = $(tgt + ' > div:last-child').clone(); + form.find('input[type=text], textarea').val(''); + $(tgt).append(form); }); }); diff --git a/pagure/templates/settings.html b/pagure/templates/settings.html index 4b0b569..af0d74e 100644 --- a/pagure/templates/settings.html +++ b/pagure/templates/settings.html @@ -709,67 +709,7 @@- Each issue can be assigned to a milestone. This way it is - possible to create a roadmap for your project. Below you can create - the milestones and optionally set dates for them. -
-+ Each issue can be assigned to a milestone. This way it is + possible to create a roadmap for your project. Below you can create + the milestones and optionally set dates for them. +
+