summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-09-17 14:22:41 -0400
committerJames Moger <james.moger@gitblit.com>2014-09-17 14:22:41 -0400
commit4881b8a72e9bbd51d484c769bf1aa72f1f77aeec (patch)
treebe487ee3ec9227fbc40c3d0e133cab1abb5b7f4c
parent802a6b05e5850161f740366cb59a182a96abe069 (diff)
downloadgitblit-4881b8a72e9bbd51d484c769bf1aa72f1f77aeec.tar.gz
gitblit-4881b8a72e9bbd51d484c769bf1aa72f1f77aeec.zip
Add NO CHANGE REQUIRED ticket status
-rw-r--r--src/main/java/com/gitblit/models/TicketModel.java8
-rw-r--r--src/main/java/com/gitblit/wicket/TicketsUI.java2
2 files changed, 6 insertions, 4 deletions
diff --git a/src/main/java/com/gitblit/models/TicketModel.java b/src/main/java/com/gitblit/models/TicketModel.java
index 091a669f..a4880ead 100644
--- a/src/main/java/com/gitblit/models/TicketModel.java
+++ b/src/main/java/com/gitblit/models/TicketModel.java
@@ -1226,13 +1226,13 @@ public class TicketModel implements Serializable, Comparable<TicketModel> {
}
public static enum Status {
- New, Open, Closed, Resolved, Fixed, Merged, Wontfix, Declined, Duplicate, Invalid, Abandoned, On_Hold;
+ New, Open, Closed, Resolved, Fixed, Merged, Wontfix, Declined, Duplicate, Invalid, Abandoned, On_Hold, No_Change_Required;
- public static Status [] requestWorkflow = { Open, Resolved, Declined, Duplicate, Invalid, Abandoned, On_Hold };
+ public static Status [] requestWorkflow = { Open, Resolved, Declined, Duplicate, Invalid, Abandoned, On_Hold, No_Change_Required };
- public static Status [] bugWorkflow = { Open, Fixed, Wontfix, Duplicate, Invalid, Abandoned, On_Hold };
+ public static Status [] bugWorkflow = { Open, Fixed, Wontfix, Duplicate, Invalid, Abandoned, On_Hold, No_Change_Required };
- public static Status [] proposalWorkflow = { Open, Resolved, Declined, Abandoned, On_Hold };
+ public static Status [] proposalWorkflow = { Open, Resolved, Declined, Abandoned, On_Hold, No_Change_Required };
public static Status [] milestoneWorkflow = { Open, Closed, Abandoned, On_Hold };
diff --git a/src/main/java/com/gitblit/wicket/TicketsUI.java b/src/main/java/com/gitblit/wicket/TicketsUI.java
index a243a7b3..0eff4cff 100644
--- a/src/main/java/com/gitblit/wicket/TicketsUI.java
+++ b/src/main/java/com/gitblit/wicket/TicketsUI.java
@@ -93,6 +93,7 @@ public class TicketsUI {
css = "aui-lozenge-complete";
break;
case On_Hold:
+ case No_Change_Required:
css = "aui-lozenge-current";
break;
default:
@@ -122,6 +123,7 @@ public class TicketsUI {
css = "resolution-complete";
break;
case On_Hold:
+ case No_Change_Required:
css = "resolution-current";
break;
default: