models, forms, actions: Switch from Humbug to Zulip in user-visible text.

(imported from commit 97966e5f118276a00d116bba0b52616bbd83cb72)
This commit is contained in:
Jessica McKellar
2013-07-10 16:00:47 -04:00
parent 108ecb3b5b
commit 116ad8da5f
3 changed files with 5 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ def is_inactive(value):
except UserProfile.DoesNotExist:
pass
SIGNUP_STRING = '<a href="https://humbughq.com/signup">Sign up</a> to find out when Humbug is ready for you.'
SIGNUP_STRING = '<a href="https://humbughq.com/signup">Sign up</a> to find out when Zulip is ready for you.'
def has_valid_realm(value):
try:
@@ -26,7 +26,7 @@ def has_valid_realm(value):
def isnt_mit(value):
if "@mit.edu" in value:
raise ValidationError(mark_safe(u'Humbug for MIT is by invitation only. ' + SIGNUP_STRING))
raise ValidationError(mark_safe(u'Zulip for MIT is by invitation only. ' + SIGNUP_STRING))
class RegistrationForm(forms.Form):
full_name = forms.CharField(max_length=100)