feat(surveys): Close out survey

This commit is contained in:
Sabe Jones 2015-03-19 21:44:42 -05:00
parent 1e8265a9f1
commit 7065b400bc
2 changed files with 3 additions and 7 deletions

View file

@ -58,8 +58,8 @@
"whyAdsContent1": "Habit is an open source project, and can use all the help it can get - consider this a donation to the contributors. You also get 20 Gems from the purchase, which you can use to buy special items.",
"whyAdsContent2": "'Hey, I backed the Kickstarter!' - follow",
"whyAdsContent3": "these instructions",
"surveysSingle": "Helped HabitRPG grow by filling out a survey. The latest survey can be found here:",
"surveysMultiple": "Helped HabitRPG grow by filling out <%= surveys %> surveys. The latest survey can be found here:",
"surveysSingle": "Helped HabitRPG grow by filling out a survey. There are no active surveys.",
"surveysMultiple": "Helped HabitRPG grow by filling out <%= surveys %> surveys. There are no active surveys.",
"currentSurvey": "Current Survey",
"surveyWhen": "The badge will be awarded to all participants when the survey period is over in late March."
"surveyWhen": "The badge will be awarded to all participants when surveys have been processed, in late March."
}

View file

@ -20,13 +20,9 @@ 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}}"})
|&nbsp;
+aLink('https://www.surveymonkey.com/s/62RXRF3', env.t('currentSurvey'))
small(ng-if='!(profile.achievements.habitSurveys > 1)')
=env.t('surveysSingle')
| &nbsp;
+aLink('https://www.surveymonkey.com/s/62RXRF3', env.t('currentSurvey'))
|. &nbsp;
strong=env.t('surveyWhen')
hr