]> source.dussan.org Git - gitblit.git/commitdiff
Add NO CHANGE REQUIRED ticket status 82/182/1
authorJames Moger <james.moger@gitblit.com>
Wed, 17 Sep 2014 18:22:41 +0000 (14:22 -0400)
committerJames Moger <james.moger@gitblit.com>
Wed, 17 Sep 2014 18:22:41 +0000 (14:22 -0400)
src/main/java/com/gitblit/models/TicketModel.java
src/main/java/com/gitblit/wicket/TicketsUI.java

index 091a669f44d53be220eef526814a39fcff85c3ca..a4880ead3eaba07b749299fcfac367cee001b283 100644 (file)
@@ -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 };
 
index a243a7b3427bc31d410c546239efd4e2494926de..0eff4cff8f3939b14e512f457b250fa3c9edd982 100644 (file)
@@ -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: