mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 04:38:55 +00:00
Made fixes suggested by crookedneighbor
This commit is contained in:
parent
4d8310296b
commit
831af01db6
1 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ div(ng-if='::profile.achievements.habitSurveys || user._id == profile._id')
|
|||
h5=env.t('helped')
|
||||
small(ng-if='::profile.achievements.habitSurveys > 1')
|
||||
=env.t('surveysMultiple', {surveys: "{{::profile.achievements.habitSurveys}}"})
|
||||
small(ng-if='!(::profile.achievements.habitSurveys > 1)')
|
||||
small(ng-if='::!profile.achievements.habitSurveys > 1')
|
||||
=env.t('surveysSingle')
|
||||
hr
|
||||
|
||||
|
|
@ -150,7 +150,7 @@ div(ng-if='::profile.achievements.challenges || user._id == profile._id')
|
|||
div(ng-class='::{muted: !profile.achievements.challenges.length}')
|
||||
h5=env.t('challengeWinner')
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='chal in ::profile.achievements.challenges track by $index')
|
||||
tr(ng-repeat='::chal in profile.achievements.challenges track by $index')
|
||||
td {{::chal}}
|
||||
hr
|
||||
|
||||
|
|
@ -159,7 +159,7 @@ div(ng-if='::profile.achievements.quests || user._id == profile._id')
|
|||
div(ng-class='::{muted: !profile.achievements.quests}')
|
||||
h5=env.t('completedQuests')
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='(k,v) in ::profile.achievements.quests')
|
||||
tr(ng-repeat='::(k,v) in profile.achievements.quests')
|
||||
td {{::Content.quests[k].text()}}
|
||||
td x{{::v}}
|
||||
hr
|
||||
|
|
|
|||
Loading…
Reference in a new issue