mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
fix(surveys): Visibility tweaks
This commit is contained in:
parent
53df85e01b
commit
3a9e2a5123
2 changed files with 21 additions and 15 deletions
|
|
@ -1,5 +1,11 @@
|
|||
h5 3/10/2015 - TESTIMONIALS GUILD AND CHAT EXTENSION
|
||||
h5 3/10/2015 - SURVEY, TESTIMONIALS GUILD, AND CHAT EXTENSION
|
||||
hr
|
||||
tr
|
||||
td
|
||||
h5 Survey and Achievement
|
||||
.achievement.achievement-tree.pull-right
|
||||
p We're giving out the rare Helped Habit Grow achievement to all users who help us out by completing <a href='https://www.surveymonkey.com/s/62RXRF3' target='_blank'>this 10-question survey</a>! If you already received this badge, taking this new survey will stack your achievement. Thanks for sparing a minute to let us know what you think about HabitRPG!
|
||||
p.small.muted by sugarfiend and SabreCat
|
||||
tr
|
||||
td
|
||||
h5 Testimonials Guild
|
||||
|
|
|
|||
|
|
@ -14,6 +14,20 @@
|
|||
if mobile
|
||||
.item.item-divider=env.t('achievements')
|
||||
|
||||
div(ng-if='::profile.achievements.habitSurveys || user._id == profile._id')
|
||||
.achievement.achievement-tree(ng-show='profile.achievements.habitSurveys')
|
||||
div(ng-class='{muted: !profile.achievements.habitSurveys}')
|
||||
h5=env.t('helped')
|
||||
small(ng-if='profile.achievements.habitSurveys > 1')
|
||||
=env.t('surveysMultiple', {surveys: "{{profile.achievements.habitSurveys}}"})
|
||||
|
|
||||
+aLink('https://www.surveymonkey.com/s/62RXRF3', env.t('currentSurvey'))
|
||||
small(ng-if='!(profile.achievements.habitSurveys > 1)')
|
||||
=env.t('surveysSingle')
|
||||
|
|
||||
+aLink('https://www.surveymonkey.com/s/62RXRF3', env.t('currentSurvey'))
|
||||
hr
|
||||
|
||||
div(ng-if='::profile.backer.npc')
|
||||
.achievement.achievement-helm
|
||||
h5
|
||||
|
|
@ -120,20 +134,6 @@ div(ng-if='profile.achievements.rebirths')
|
|||
| {{profile.achievements.rebirthLevel}}.
|
||||
hr
|
||||
|
||||
div(ng-if='::profile.achievements.habitSurveys || user._id == profile._id')
|
||||
.achievement.achievement-tree(ng-show='profile.achievements.habitSurveys')
|
||||
div(ng-class='{muted: !profile.achievements.habitSurveys}')
|
||||
h5=env.t('helped')
|
||||
small(ng-if='profile.achievements.habitSurveys > 1')
|
||||
=env.t('surveysMultiple', {surveys: "{{profile.achievements.habitSurveys}}"})
|
||||
|
|
||||
+aLink('https://www.surveymonkey.com/s/62RXRF3', env.t('currentSurvey'))
|
||||
small(ng-if='!(profile.achievements.habitSurveys > 1)')
|
||||
=env.t('surveysSingle')
|
||||
|
|
||||
+aLink('https://www.surveymonkey.com/s/62RXRF3', env.t('currentSurvey'))
|
||||
hr
|
||||
|
||||
div(ng-if=':: profile.achievements.veteran')
|
||||
.achievement.achievement-cake
|
||||
div(ng-if='::profile.achievements.veteran')
|
||||
|
|
|
|||
Loading…
Reference in a new issue