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

Commit 32db0ea

Browse files
committed
Merge pull request #561 from appirio-tech/feature/SUP-2278
Some fixes
2 parents 2e94301 + 3839764 commit 32db0ea

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

app/directives/challenge-user-place/design-challenge-user-place.directive.jade

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.tile-view(ng-show="view === 'tile'")
22
p.place(ng-class="{ 'first-place': challenge.wonFirst }", ng-show="challenge.highestPlacement") {{challenge.highestPlacement}}#[span {{challenge.highestPlacement | ordinal:true}}] Place
3-
p.place(ng-show="challenge.userStatus === 'NOT_FINISHED'") Didn't Finish
4-
p.place(ng-show="challenge.userStatus === 'PASSED_SCREENING'") Passed Screening
5-
p.place(ng-show="challenge.userStatus === 'COMPLETED'") COMPLETED
3+
p.place.didnt(ng-show="challenge.userStatus === 'NOT_FINISHED'") Didn't Finish
4+
p.place.passed(ng-show="challenge.userStatus === 'PASSED_SCREENING'") Passed Screening
5+
p.place.completed(ng-show="challenge.userStatus === 'COMPLETED'") COMPLETED
66

77
.thumbnail(ng-click="!challenge.isPrivate && imageURL && openLightbox()", ng-class="{hidden: challenge.userStatus !== 'PASSED_REVIEW'}")
88
img(ng-show="!challenge.isPrivate", ng-src="{{imageURL || '/images/card-bg-no-image.svg'}}", fallback-src="/images/card-bg-no-image.svg")
@@ -16,9 +16,9 @@
1616
.list-view(ng-show="view === 'list'")
1717
.place-date
1818
p.place(ng-class="{ 'first-place': challenge.wonFirst }", ng-show="challenge.highestPlacement") {{challenge.highestPlacement}}#[span {{challenge.highestPlacement | ordinal:true}}] Place
19-
p.place(ng-show="challenge.userStatus === 'NOT_FINISHED'") Didn't Finish
20-
p.place(ng-show="challenge.userStatus === 'PASSED_SCREENING'") Passed Screening
21-
p.place(ng-show="challenge.userStatus === 'COMPLETED'") COMPLETED
19+
p.place.didnt(ng-show="challenge.userStatus === 'NOT_FINISHED'") Didn't Finish
20+
p.place.passed(ng-show="challenge.userStatus === 'PASSED_SCREENING'") Passed Screening
21+
p.place.completed(ng-show="challenge.userStatus === 'COMPLETED'") COMPLETED
2222
p.date-completed {{challenge.submissionEndDate | date : 'MMMM yyyy'}}
2323

2424
.winner-ribbon(ng-show="challenge.wonFirst")

assets/css/directives/design-challenge-user-place.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ design-challenge-user-place {
1010

1111
.place {
1212
&.completed, &.passed, &.didnt {
13-
margin-bottom: -23px;
13+
margin-bottom: -36px;
1414
margin-top: 40px;
1515
}
1616
margin-bottom: 8px;

0 commit comments

Comments
 (0)