From a33a896ef3a07d62d8a1a274e7426c22b4034084 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 11 2016 10:31:26 +0000 Subject: Adjust the settings page to allow setting custom fields for issues --- diff --git a/pagure/templates/settings.html b/pagure/templates/settings.html index 1573ccf..fe31308 100644 --- a/pagure/templates/settings.html +++ b/pagure/templates/settings.html @@ -673,6 +673,69 @@
+ Custom issue fields +
+
+

+ Set some custom fields for your issues. +

+
+
+ {{ tag_form.csrf_token }} +
+
+
+ Fields +
+
+
+ {% for field in repo.issue_keys | sort %} +
+
+ +
+
+ +
+
+ {% endfor %} +
+ +
+
+ +
+
+
+
+
+
+ +
+
+
Issue Tags
@@ -873,5 +936,23 @@ $('#new_close_status').click(function(e) { ); }); +$('#new_custom_field').click(function(e) { + console.log('new custom fields'); + $('#custom_fields').append( + '
\ +
\ + \ +
\ +
\ + \ +
\ +
' + ); +}); + {% endblock %}