Pass proper parameters, fix templating
This commit is contained in:
@@ -188,6 +188,7 @@ def combined_notifications(request, course_id):
|
||||
course = get_course_with_access(request.user, course_id, 'load')
|
||||
user = request.user
|
||||
notifications = open_ended_notifications.combined_notifications(course, user)
|
||||
log.debug(notifications)
|
||||
response = notifications['response']
|
||||
notification_tuples=open_ended_notifications.NOTIFICATION_TYPES
|
||||
|
||||
@@ -218,6 +219,8 @@ def combined_notifications(request, course_id):
|
||||
'ajax_url' : ajax_url,
|
||||
}
|
||||
|
||||
log.debug(combined_dict)
|
||||
|
||||
return render_to_response('open_ended_problems/combined_notifications.html',
|
||||
combined_dict
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user