This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
directives/challenge-tile Expand file tree Collapse file tree 3 files changed +6
-0
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.btn-danger.submit ( ng-switch-when ="Submit" , ng-href ="{{challenge|challengeLinks:'unRegister'}}" ) Unregister
2425 a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit ( ng-switch-when ="Appeal" , ng-href ="{{challenge|challengeLinks:'viewScorecards'}}" ) View Scorecards
2526 a.tc-btn.tc-btn-s.tc-btn-wide.btn-danger.submit ( ng-switch-when ="Appeal" , ng-href ="{{challenge|challengeLinks:'completeAppeals'}}" ) Complete Appeals
2627
99100
100101 .phase-action ( ng-switch ="challenge.userAction" )
101102 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
102104 a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit ( ng-switch-when ="Appeal" , ng-href ="{{challenge|challengeLinks:'viewScorecards'}}" ) View Scorecards
103105 a.tc-btn.tc-btn-s.tc-btn-wide.btn-danger.submit ( ng-switch-when ="Appeal" , ng-href ="{{challenge|challengeLinks:'completeAppeals'}}" ) Complete Appeals
104106
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ import _ from 'lodash'
7373 return String . supplant ( 'https://software.{domain}/review/actions/ViewProjectDetails?pid={id}' , data )
7474 case 'completeAppeals' :
7575 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 )
7678 }
7779 }
7880 }
Original file line number Diff line number Diff line change @@ -248,6 +248,7 @@ challenge-tile .challenge.tile-view {
248248 .submit {
249249 margin : 12px ;
250250 display : block ;
251+ text-align : center ;
251252
252253 & .btn-danger {
253254 color : #e66e66 ;
@@ -524,6 +525,7 @@ challenge-tile .challenge.list-view {
524525 .submit {
525526 display : block ;
526527 margin : 6px 0 ;
528+ text-align : center ;
527529
528530 & .btn-danger {
529531 color : #e66e66 ;
You can’t perform that action at this time.
0 commit comments