Skip to content

Commit

Permalink
small style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jwm committed Jan 28, 2014
1 parent f41db40 commit d35c2bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mysite/account/views.py
Expand Up @@ -389,16 +389,16 @@ def invite_someone(request, form=None, success_message=''):
remaining_invites = InvitationKey.objects.remaining_invitations_for_user(
request.user)

if request.GET.get('invited', None):
account_notification = "Email has been sent."
if request.GET.get('invited'):
account_notification = 'E-mail has been sent.'
else:
account_notification = ""
account_notification = ''

return (request, 'account/invite_someone.html', {
'success_message': success_message,
'invite_someone_form': invite_someone_form,
'remaining_invites': remaining_invites,
'account_notification': account_notification
'account_notification': account_notification,
})


Expand Down

0 comments on commit d35c2bc

Please sign in to comment.