Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Promote to prod - Bug Bash 3 #1096

Merged
merged 14 commits into from
Mar 22, 2017
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/directives/challenge-tile/challenge-tile.jade
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

.phase-action(ng-show="challenge.userAction", ng-switch="challenge.userAction")
a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit(ng-switch-when="Submit", ng-href="{{challenge|challengeLinks:'submit'}}") Submit
a.tc-btn.tc-btn-s.tc-btn-wide.btn-danger.submit(ng-switch-when="Submit", ng-href="{{challenge|challengeLinks:'unRegister'}}") Unregister
a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit(ng-switch-when="Appeal", ng-href="{{challenge|challengeLinks:'viewScorecards'}}") View Scorecards
a.tc-btn.tc-btn-s.tc-btn-wide.btn-danger.submit(ng-switch-when="Appeal", ng-href="{{challenge|challengeLinks:'completeAppeals'}}") Complete Appeals

Expand Down Expand Up @@ -99,6 +100,7 @@

.phase-action(ng-switch="challenge.userAction")
a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit(ng-switch-when="Submit", ng-href="{{challenge|challengeLinks:'submit'}}") Submit
a.tc-btn.tc-btn-s.tc-btn-wide.btn-danger.submit(ng-switch-when="Submit", ng-href="{{challenge|challengeLinks:'unRegister'}}") Unregister
a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit(ng-switch-when="Appeal", ng-href="{{challenge|challengeLinks:'viewScorecards'}}") View Scorecards
a.tc-btn.tc-btn-s.tc-btn-wide.btn-danger.submit(ng-switch-when="Appeal", ng-href="{{challenge|challengeLinks:'completeAppeals'}}") Complete Appeals

Expand Down
2 changes: 2 additions & 0 deletions app/filters/challengeLinks.filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ import _ from 'lodash'
return String.supplant('https://software.{domain}/review/actions/ViewProjectDetails?pid={id}', data)
case 'completeAppeals':
return String.supplant('https://software.{domain}/review/actions/EarlyAppeals?pid={id}', data)
case 'unRegister':
return String.supplant('https://software.{domain}/review/actions/Unregister?pid={id}', data)
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions assets/css/directives/challenge-tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ challenge-tile .challenge.tile-view {
.submit {
margin: 12px;
display: block;
text-align: center;

&.btn-danger {
color: #e66e66;
Expand Down Expand Up @@ -524,6 +525,7 @@ challenge-tile .challenge.list-view {
.submit {
display: block;
margin: 6px 0;
text-align: center;

&.btn-danger {
color: #e66e66;
Expand Down