diff --git a/pagure/templates/settings.html b/pagure/templates/settings.html index 94bc1e2..a02b153 100644 --- a/pagure/templates/settings.html +++ b/pagure/templates/settings.html @@ -440,6 +440,65 @@
+ Roadmap +
+
+

+ Below are the milestons you may assign to a ticket, allowing + you to build a roadmap using the `roadmap` tag and a tag + corresponding to one of the milestones defined here. +

+
+
+ {{ tag_form.csrf_token }} +
+
+
+ Milestone +
+
+ Date (optional) +
+
+
+ {% for milestone in repo.milestones | sort %} +
+
+ +
+
+ +
+
+ {% endfor %} +
+ +
+
+ +
+
+
+
+
+
+ +
+
+
Issue Tags
@@ -568,6 +627,7 @@ $('#new_priority').click(function(e) {
' ); }); + {% if not repo.priorities %} $('#default_priorities').click(function(e) { $('#priorities').html(''); @@ -590,5 +650,22 @@ $('#default_priorities').click(function(e) { }); {% endif %} +$('#new_milestone').click(function(e) { + console.log('new milestone'); + console.log($('#milestones')); + $('#milestones').append( + '
\ +
\ + \ +
\ +
\ + \ +
\ +
' + ); +}); + {% endblock %}