Commit b276d8b4 by David Ormsbee

Changes as per cpennington's code review

parent b80ceecf
...@@ -215,7 +215,7 @@ def permalink(content): ...@@ -215,7 +215,7 @@ def permalink(content):
def extend_content(content): def extend_content(content):
user = User.objects.get(pk=content['user_id']) user = User.objects.get(pk=content['user_id'])
roles = dict([('name', role.name.lower()) for role in user.roles.filter(course_id=content['course_id'])]) roles = dict(('name', role.name.lower()) for role in user.roles.filter(course_id=content['course_id']))
content_info = { content_info = {
'displayed_title': content.get('highlighted_title') or content.get('title', ''), 'displayed_title': content.get('highlighted_title') or content.get('title', ''),
'displayed_body': content.get('highlighted_body') or content.get('body', ''), 'displayed_body': content.get('highlighted_body') or content.get('body', ''),
......
...@@ -391,7 +391,7 @@ $tag-text-color: #5b614f; ...@@ -391,7 +391,7 @@ $tag-text-color: #5b614f;
} }
.author-administrator:after{ .author-administrator:after{
content: " (administrator)" content: " (instructor)"
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment