File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
frontend/src/views/web/challenge Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 38
38
< ul >
39
39
< b > Select Phase:</ b >
40
40
< li ng-repeat ="item in challenge.phases.results ">
41
- < input ng-if ="challenge.currentDate < item.end_date " type ="radio " name ="selectPhase " class ="with-gap selectPhase " id ="{{item.id}} " value ="{{item.id}} " ng-model ="challenge.phaseId " ng-click ="challenge.showRemainingSubmissions(item.id) ">
42
- < input ng-if ="challenge.currentDate >= item.end_date " type ="radio " name ="selectPhase " class ="with-gap selectPhase " id ="{{item.id}} " value ="{{item.id}} " ng-model ="challenge.phaseId " ng-click ="challenge.showRemainingSubmissions(item.id) " disabled ="true ">
41
+ < input ng-disabled ="challenge.currentDate < item.start_date || challenge.currentDate >= item.end_date " type ="radio " name ="selectPhase " class ="with-gap selectPhase " id ="{{item.id}} " value ="{{item.id}} " ng-model ="challenge.phaseId " ng-click ="challenge.showRemainingSubmissions(item.id) ">
43
42
< label for ="{{item.id}} "> </ label >
44
43
< div class ="show-member-title pointer " ng-if ="!item.showPrivate "> < strong class ="text-med-black "> Phase: </ strong > {{item.name}}
45
44
< br >
46
- < strong class ="text-med-black "> End Date: </ strong > {{item.end_date | date:'medium'}}</ div >
45
+ < strong class ="text-med-black "> Start Date: </ strong > {{item.start_date | date:'medium'}}
46
+ < br >
47
+ < strong class ="text-med-black "> End Date: </ strong > {{item.end_date | date:'medium'}}
48
+ </ div >
47
49
< div class ="show-member-title pointer " ng-if ="item.showPrivate "> < strong class ="text-highlight "> Phase: </ strong > < span class ="text-highlight ">
48
50
{{item.name}}</ span >
49
51
< br >
50
- < strong class ="text-highlight "> End Date: </ strong > < span class ="text-highlight "> {{item.end_date | date:'medium'}}</ span > </ div >
52
+ < strong class ="text-highlight "> Start Date: </ strong > < span class ="text-highlight "> {{item.start_date | date:'medium'}}</ span >
53
+ < br >
54
+ < strong class ="text-highlight "> End Date: </ strong > < span class ="text-highlight "> {{item.end_date | date:'medium'}}</ span >
55
+ </ div >
51
56
< div class ="clearfix "> </ div >
52
57
</ li >
53
58
< div class ="row ">
You can’t perform that action at this time.
0 commit comments