bring client side changes and cleanup

This commit is contained in:
Matteo Pagliazzi
2015-02-09 20:35:41 +01:00
parent b069529fe8
commit fdf0c1d3ec
4 changed files with 33 additions and 29 deletions
+3 -3
View File
@@ -4,10 +4,10 @@ script(type='text/ng-template', id='modals/invite-friends.html')
.modal-body
p.alert.alert-info Invite friends by <a href='http://habitrpg.wikia.com/wiki/API_Options' target='_blank'>User ID</a> here.
form.form-inline(ng-submit='invite(party)')
form.form-inline(ng-submit='invite()')
//-.alert.alert-danger(ng-show='_groupError') {{_groupError}}
.form-group
input.form-control(type='text', placeholder=env.t('userId'), ng-model='party.invitee')
input.form-control(type='text', placeholder=env.t('userId'), ng-model='invitee')
|&nbsp;
button.btn.btn-primary(type='submit') Invite Existing User
@@ -15,7 +15,7 @@ script(type='text/ng-template', id='modals/invite-friends.html')
p.alert.alert-info Invite friends by email. If they join via your email, they'll automatically be invited to your party.
form.form-horizontal(ng-submit='inviteEmails(inviter, emails)')
form.form-horizontal(ng-submit='inviteEmails()')
table.table.table-striped
thead
tr