mirror of https://github.com/zulip/zulip.git
Rename 'classes' to 'streams'.
(imported from commit 8ad6791f39d49e90a2828b6af86d039ba5ca5abc)
This commit is contained in:
parent
493a428cb2
commit
6dc913766d
|
@ -45,7 +45,7 @@
|
|||
{% autoescape off %}
|
||||
var initial_pointer = {{ user_profile.pointer }};
|
||||
var email = "{{ user_profile.user.email }}";
|
||||
var class_list = {{ classes }};
|
||||
var class_list = {{ streams }};
|
||||
var people_list = {{ people }};
|
||||
var have_initial_messages = {{ have_initial_messages }};
|
||||
{% endautoescape %}
|
||||
|
|
|
@ -173,7 +173,7 @@ def home(request):
|
|||
{'user_profile': user_profile,
|
||||
'email_hash' : hashlib.md5(user_profile.user.email).hexdigest(),
|
||||
'people' : simplejson.dumps(people),
|
||||
'classes' : simplejson.dumps(streams),
|
||||
'streams' : simplejson.dumps(streams),
|
||||
'have_initial_messages':
|
||||
'true' if messages else 'false',
|
||||
'show_debug':
|
||||
|
|
Loading…
Reference in New Issue