1
1
/*
2
- * Copyright (C) 2010 - 2018 TopCoder Inc., All Rights Reserved.
2
+ * Copyright (C) 2010 - 2018 TopCoder Inc., All Rights Reserved.
3
3
*/
4
4
/**
5
5
* This javascript file defines classes to store informations about contest.
67
67
* Version 1.10(TOPCODER - IMPROVE USER MANAGEMENT BEHAVIOR FOR PROJECT PERMISSIONS & NOTIFICATIONS)
68
68
* - Refactor constant for copilot posting
69
69
*
70
- * Version 1.11 (Topcoder - Support Points Prize Type For Challenges)
71
- * - Add support for points prize type
72
- *
70
+ * Version 1.11 (Topcoder - Support Points Prize Type For Challenges)
71
+ * - Add support for points prize type
72
+ *
73
73
* @author duxiaoyang, bugbuka, GreatKevin, TCSCODER
74
- * @version 1.11
74
+ * @version 1.11
75
75
*/
76
76
if ( ! com ) {
77
77
var com = { } ;
@@ -95,7 +95,7 @@ var CONTEST_DETAILED_STATUS_ACTIVE_PUBLIC =2 ;
95
95
var CONTEST_DETAILED_STATUS_SCHEDULED = 9 ;
96
96
var CHECKPOINT_PRIZE_TYPE_ID = 14 ;
97
97
var CONTEST_PRIZE_TYPE_ID = 15 ;
98
- var CHALLENGE_POINT_TYPE_ID = 16 ;
98
+ var CHALLENGE_POINT_TYPE_ID = 16 ;
99
99
100
100
101
101
/**
@@ -119,8 +119,8 @@ com.topcoder.direct.Prize = function(place, amount, prizeType, numberOfSubmissio
119
119
this . prizeType . description = "Contest Prize" ;
120
120
} else if ( prizeType == CHECKPOINT_PRIZE_TYPE_ID ) {
121
121
this . prizeType . description = "Checkpoint Prize" ;
122
- } else if ( prizeType == CHALLENGE_POINT_TYPE_ID ) {
123
- this . prizeType . description = "Challenge Points" ;
122
+ } else if ( prizeType == CHALLENGE_POINT_TYPE_ID ) {
123
+ this . prizeType . description = "Challenge Points" ;
124
124
}
125
125
126
126
this . numberOfSubmissions = numberOfSubmissions ;
@@ -213,13 +213,13 @@ var MM_TYPE = "Marathon Match Type";
213
213
var projectCategoryArray = [
214
214
{ id :SOFTWARE_CATEGORY_ID_CONCEPT , name :'CONCEPTUALIZATION' , label :'Software Conceptualization' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
215
215
{ id :SOFTWARE_CATEGORY_ID_SPEC , name :'SPECIFICATION' , label :'Software Specification' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
216
- { id :7 , name :'ARCHITECTURE' , label :'Architecture' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : false } ,
216
+ { id :7 , name :'ARCHITECTURE' , label :'Architecture' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
217
217
{ id :SOFTWARE_CATEGORY_ID_DESIGN , name :'DESIGN' , label :'Component Design' , typeId :1 , typeName :'Component' , hasMulti :false , hideInDropdown : true } ,
218
218
{ id :SOFTWARE_CATEGORY_ID_DEVELOPMENT , name :'DEVELOPMENT' , label :'Component Development' , typeId :1 , typeName :'Component' , hasMulti :false , hideInDropdown : true } ,
219
219
{ id :25 , name :'RIACOMPONENT' , label :'RIA Component' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
220
220
{ id :24 , name :'RIABUILD' , label :'RIA Build' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
221
- { id :19 , name :'UIPROTOTYPE' , label :'UI Prototype' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : false } ,
222
- { id :SOFTWARE_CATEGORY_ID_ASSEMBLY , name :'SOFTWARE ASSEMBLY' , label :'Software Assembly' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : false } ,
221
+ { id :19 , name :'UIPROTOTYPE' , label :'UI Prototype' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
222
+ { id :SOFTWARE_CATEGORY_ID_ASSEMBLY , name :'SOFTWARE ASSEMBLY' , label :'Software Assembly' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
223
223
{ id :13 , name :'TESTSUITES' , label :'Test Suites' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : false } ,
224
224
{ id :26 , name :'TESTSCENARIOS' , label :'Test Scenarios' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
225
225
{ id :COPILOT_POSTING , name :'Copilot Posting' , label :'Copilot Posting' , typeId :2 , typeName :'Application' , hasMulti :false , hideInDropdown : true } ,
0 commit comments