mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
Challenges now display'no owner' if original owner deletes account
This commit is contained in:
parent
04fbdaa107
commit
47ec2e1f93
2 changed files with 3 additions and 2 deletions
|
|
@ -59,5 +59,6 @@
|
|||
"challengeNotEnoughGems": "You do not have enough gems to post this challenge.",
|
||||
"noPermissionEditChallenge": "You don't have permissions to edit this challenge",
|
||||
"noPermissionDeleteChallenge": "You don't have permissions to delete this challenge",
|
||||
"noPermissionCloseChallenge": "You don't have permissions to close this challenge"
|
||||
"noPermissionCloseChallenge": "You don't have permissions to close this challenge",
|
||||
"noChallengeOwner": "no owner"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ script(type='text/ng-template', id='partials/options.social.challenges.html')
|
|||
| {{challenge.group.name}}
|
||||
li
|
||||
=env.t('by') + ' '
|
||||
a(ng-click='clickMember(challenge.leader._id, true)') {{challenge.leader.profile.name}}
|
||||
a(ng-click='clickMember(challenge.leader._id, true)') {{challenge.leader.profile.name || env.t('noChallengeOwner')}}
|
||||
li
|
||||
=env.t('participants', {membercount: "{{challenge.memberCount}}"})
|
||||
li(ng-show='challenge.prize')
|
||||
|
|
|
|||
Loading…
Reference in a new issue