Rename 'classes' to 'streams'.

(imported from commit 8ad6791f39d49e90a2828b6af86d039ba5ca5abc)
This commit is contained in:
Tim Abbott 2012-10-10 17:06:25 -04:00
parent 493a428cb2
commit 6dc913766d
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
{% autoescape off %} {% autoescape off %}
var initial_pointer = {{ user_profile.pointer }}; var initial_pointer = {{ user_profile.pointer }};
var email = "{{ user_profile.user.email }}"; var email = "{{ user_profile.user.email }}";
var class_list = {{ classes }}; var class_list = {{ streams }};
var people_list = {{ people }}; var people_list = {{ people }};
var have_initial_messages = {{ have_initial_messages }}; var have_initial_messages = {{ have_initial_messages }};
{% endautoescape %} {% endautoescape %}

View File

@ -173,7 +173,7 @@ def home(request):
{'user_profile': user_profile, {'user_profile': user_profile,
'email_hash' : hashlib.md5(user_profile.user.email).hexdigest(), 'email_hash' : hashlib.md5(user_profile.user.email).hexdigest(),
'people' : simplejson.dumps(people), 'people' : simplejson.dumps(people),
'classes' : simplejson.dumps(streams), 'streams' : simplejson.dumps(streams),
'have_initial_messages': 'have_initial_messages':
'true' if messages else 'false', 'true' if messages else 'false',
'show_debug': 'show_debug':