This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed
directives/challenge-tile Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 2121
2222 .phase-action ( ng-show ="challenge.userAction" , ng-switch ="challenge.userAction" )
2323 a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit ( ng-switch-when ="Submit" , ng-href ="{{challenge|challengeLinks:'submit'}}" ) Submit
24+ a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit ( ng-switch-when ="Appeal" , ng-href ="{{challenge|challengeLinks:'viewScorecards'}}" ) View Scorecards
25+ a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit ( ng-switch-when ="Appeal" , ng-href ="{{challenge|challengeLinks:'completeAppeals'}}" ) Complete Appeals
2426
2527 .submitted ( ng-switch-when ="Submitted" ) Submitted
2628
9799
98100 .phase-action ( ng-switch ="challenge.userAction" )
99101 a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit ( ng-switch-when ="Submit" , ng-href ="{{challenge|challengeLinks:'submit'}}" ) Submit
102+ a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit ( ng-switch-when ="Appeal" , ng-href ="{{challenge|challengeLinks:'viewScorecards'}}" ) View Scorecards
103+ a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit ( ng-switch-when ="Appeal" , ng-href ="{{challenge|challengeLinks:'completeAppeals'}}" ) Complete Appeals
100104
101105 .submitted ( ng-switch-when ="Submitted" ) Submitted
102106
Original file line number Diff line number Diff line change @@ -69,6 +69,10 @@ import _ from 'lodash'
6969 return String . supplant ( 'https://{subdomain}.{domain}/challenge-details/{id}/?type={track}' , data )
7070 case 'detail' :
7171 return String . supplant ( 'https://{subdomain}.{domain}/challenge-details/{id}/?type={track}' , data )
72+ case 'viewScorecards' :
73+ return String . supplant ( 'https://software.{domain}/review/actions/ViewProjectDetails?pid={id}' , data )
74+ case 'completeAppeals' :
75+ return String . supplant ( 'https://software.{domain}/review/actions/EarlyAppeals?pid={id}' , data )
7276 }
7377 }
7478 }
Original file line number Diff line number Diff line change @@ -105,6 +105,9 @@ import moment from 'moment'
105105 }
106106 } )
107107 }
108+ if ( challenge . userCurrentPhase === 'Appeals' ) {
109+ challenge . userAction = 'Appeal'
110+ }
108111
109112 if ( challenge . userCurrentPhaseEndTime ) {
110113 var fullTime = challenge . userCurrentPhaseEndTime
Original file line number Diff line number Diff line change @@ -245,8 +245,8 @@ challenge-tile .challenge.tile-view {
245245 min-height : 55px ;
246246
247247 .submit {
248- margin-bottom : 25 px ;
249- display : inline- block ;
248+ margin : 12 px ;
249+ display : block ;
250250 }
251251
252252 .submitted {
@@ -498,7 +498,8 @@ challenge-tile .challenge.list-view {
498498
499499 .phase-action {
500500 .submit {
501- display : inline-block ;
501+ display : block ;
502+ margin : 6px 0 ;
502503 }
503504
504505 .submitted {
You can’t perform that action at this time.
0 commit comments