76
76
77
77
< h2 > 5th PLACE</ h2 >
78
78
</ td >
79
- < td ng-if ="designOrCode && (CD.challenge.prize && CD.challenge.prize.length > 5) " class ="morePayments active closed " rowspan ="2 ">
79
+ < td ng-if ="designOrCode && (CD.challenge.prize && CD.challenge.prize.length > 5) " class ="morePayments active closed " rowspan ="3 ">
80
80
</ td >
81
- < td ng-if ="designOrCode && (CD.challenge.prize && CD.challenge.prize.length <= 5) " class ="morePayments inactive " rowspan ="2 ">
81
+ < td ng-if ="designOrCode && (CD.challenge.prize && CD.challenge.prize.length <= 5) " class ="morePayments inactive " rowspan ="3 ">
82
82
</ td >
83
83
</ tr >
84
84
< tr ng-if ="CD.challenge.prize && CD.challenge.prize.length > 5 && (currentPlace = 6) " class ="additionalPrizes hide " ng-repeat ="i in range(0, (CD.challenge.prize.length - 5) / 5) ">
@@ -87,24 +87,37 @@ <h2 ng-bind-template="{{j + 1}}'th PLACE'"></h2>
87
87
< h3 > < small > $</ small > < span ng-bind ="CD.challenge.prize[j] "> </ span > </ h3 >
88
88
</ td >
89
89
</ tr >
90
- < tr > <!-- Bugfix: Added noPrize class when challenge has no reliability bonus -->
91
- < td ng-if ="!CD.isDesign " colspan ="5 " class ="{{ (!CD.challenge.reliabilityBonus || CD.challenge.challengeType === 'Bug Hunt') ? 'noPrize' : ''}} ">
90
+ < tr >
91
+ < td
92
+ colspan ="5 "
93
+ ng-if ="!CD.isDesign && CD.reliabilityBonus
94
+ && (CD.challenge.challengeType !== 'Bug Hunt') "
95
+ >
92
96
< p class ="realibilityPara ">
93
97
Reliability Bonus
94
- < span ng-if ="CD.reliabilityBonus && CD.challenge.challengeType !== 'Bug Hunt' " ng-bind-template ="${{CD.challenge.reliabilityBonus}} ">
95
- </ span >
96
- < span ng-if ="!(CD.reliabilityBonus) || CD.challenge.challengeType === 'Bug Hunt' ">
97
- N/A
98
- </ span >
98
+ < span
99
+ ng-bind-template ="${{CD.challenge.reliabilityBonus}} "
100
+ > </ span >
99
101
</ p >
100
102
</ td >
101
- </ td >
102
103
< td ng-if ="CD.isDesign " colspan ="5 ">
103
104
< p class ="scPoints " ng-if ="CD.challenge.numberOfCheckpointsPrizes > 0 "> < span ng-bind ="CD.challenge.numberOfCheckpointsPrizes "> </ span > CHECKPOINT AWARDS WORTH < span ng-bind-template ="${{CD.challenge.topCheckPointPrize}} "> </ span >
104
105
EACH</ p >
105
106
< p class ="scPoints " ng-if ="CD.challenge.numberOfCheckpointsPrizes == 0 "> NO CHECKPOINT AWARDS</ p >
106
107
</ td >
107
108
</ tr >
109
+ < tr >
110
+ < td
111
+ colspan ="5 "
112
+ ng-if ="CD.challenge.digitalRunPoints "
113
+ >
114
+ < p class ="realibilityPara ">
115
+ < span ng-bind-template ="{{CD.challenge.digitalRunPoints}} ">
116
+ </ span >
117
+ Points
118
+ </ p >
119
+ </ td >
120
+ </ tr >
108
121
</ tbody >
109
122
</ table >
110
123
<!-- TODO: not sure why this code is repeated -- probably get rid of it (or make sure my fix of it is correct) -->
0 commit comments