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

Commit afef7f0

Browse files
author
vikasrohit
committed
SUP-2231, New Empty States for Dashboard and Profile, SUP-2209, User has past challenges but not able to access the past challenges from dashboard as user do not have any active challenges.
-- Updated link for "Explore Open Challenges" button to point to "My Challenges" page with Past filter.
1 parent 78d2508 commit afef7f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/my-dashboard/my-challenges/my-challenges.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ section.noChallenges(ng-if="!vm.userHasChallenges && !vm.loading")
1515
a.find-challenges.tc-btn.tc-btn-s(ng-href="https://www.{{DOMAIN}}/challenges/?pageIndex=1") Find Challenges
1616

1717
a.learn-more(href="https://www.{{DOMAIN}}/member-onboarding") Learn More
18-
empty-state-placeholder(title="My Challenges", description="You don't have any active challenges. Ready to find your next challenge?", show="!vm.userHasChallenges")
18+
empty-state-placeholder(title="My Challenges", description="You don't have any active challenges. Ready to find your next challenge?", show="!vm.userHasChallenges && !vm.neverParticipated")
1919
.info-links
20-
a.find-challenges.tc-btn.tc-btn-s(ng-href="https://www.{{DOMAIN}}/challenges/?pageIndex=1") Explore Open Challenges
20+
a.find-challenges.tc-btn.tc-btn-s(ui-sref="my-challenges({status: 'completed'})") Explore Open Challenges
2121

2222
section.hasChallenges(ng-if="vm.userHasChallenges && !vm.loading", ng-class="{ 'list-view-active': vm.challengeView === 'list' }")
2323
.section-titles(ng-show="vm.challengeView === 'list'")

0 commit comments

Comments
 (0)