This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree 3 files changed +6
-0
lines changed
directives/challenge-tile
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 21
21
22
22
.phase-action ( ng-show ="challenge.userAction" , ng-switch ="challenge.userAction" )
23
23
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.btn-danger.submit ( ng-switch-when ="Submit" , ng-href ="{{challenge|challengeLinks:'unRegister'}}" ) Unregister
24
25
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
26
a.tc-btn.tc-btn-s.tc-btn-wide.btn-danger.submit ( ng-switch-when ="Appeal" , ng-href ="{{challenge|challengeLinks:'completeAppeals'}}" ) Complete Appeals
26
27
99
100
100
101
.phase-action ( ng-switch ="challenge.userAction" )
101
102
a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit ( ng-switch-when ="Submit" , ng-href ="{{challenge|challengeLinks:'submit'}}" ) Submit
103
+ a.tc-btn.tc-btn-s.tc-btn-wide.btn-danger.submit ( ng-switch-when ="Submit" , ng-href ="{{challenge|challengeLinks:'unRegister'}}" ) Unregister
102
104
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
105
a.tc-btn.tc-btn-s.tc-btn-wide.btn-danger.submit ( ng-switch-when ="Appeal" , ng-href ="{{challenge|challengeLinks:'completeAppeals'}}" ) Complete Appeals
104
106
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ import _ from 'lodash'
73
73
return String . supplant ( 'https://software.{domain}/review/actions/ViewProjectDetails?pid={id}' , data )
74
74
case 'completeAppeals' :
75
75
return String . supplant ( 'https://software.{domain}/review/actions/EarlyAppeals?pid={id}' , data )
76
+ case 'unRegister' :
77
+ return String . supplant ( 'https://software.{domain}/review/actions/Unregister?pid={id}' , data )
76
78
}
77
79
}
78
80
}
Original file line number Diff line number Diff line change @@ -248,6 +248,7 @@ challenge-tile .challenge.tile-view {
248
248
.submit {
249
249
margin : 12px ;
250
250
display : block ;
251
+ text-align : center ;
251
252
252
253
& .btn-danger {
253
254
color : #e66e66 ;
@@ -524,6 +525,7 @@ challenge-tile .challenge.list-view {
524
525
.submit {
525
526
display : block ;
526
527
margin : 6px 0 ;
528
+ text-align : center ;
527
529
528
530
& .btn-danger {
529
531
color : #e66e66 ;
You can’t perform that action at this time.
0 commit comments