add community guidelines info to profile editing (#7086)

* add community guidelines info to profile editing

* Update profile.jade
This commit is contained in:
MathWhiz 2016-04-18 19:15:21 -05:00 committed by Alys
parent f1788080da
commit ed49a377e1
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{
"communityGuidelinesWarning": "Please keep in mind that your Display Name, profile photo, and blurb must comply with the <a href='https://habitrpg.com/static/community-guidelines' target='_blank'>Community Guidelines</a> (e.g. no profanity, no adult topics, no insults, etc). If you have any questions about whether or not something is appropriate, feel free to email <a href='mailto:leslie@habitica.com' target='blank'>leslie@habitica.com</a>!",
"statsAch": "Stats & Achievements",
"profile": "Profile",
"avatar": "Customize Avatar",

View file

@ -256,8 +256,9 @@ script(id='partials/options.profile.profile.html', type='text/ng-template')
//{{profile.profile.blurb | linky:'_blank'}}
form.col-md-4(ng-show='_editing.profile', ng-submit='save()')
.alert.alert-info.alert-sm
!=env.t("communityGuidelinesWarning")
input.btn.btn-primary(type='submit', value=env.t('save'))
// TODO use photo-upload instead: https://groups.google.com/forum/?fromgroups=#!topic/derbyjs/xMmADvxBOak
.form-group
label=env.t('displayName')