Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
b60feb16
Commit
b60feb16
authored
Sep 11, 2012
by
Ibrahim Awwal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove user_id from content renderer although I'm 99.9% sure this isn't
used anywhere anyway.
parent
9266ade9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
lms/templates/discussion/_content_renderer.html
+1
-1
No files found.
lms/templates/discussion/_content_renderer.html
View file @
b60feb16
...
...
@@ -5,7 +5,7 @@
</
%
def>
<
%
def
name=
"render_content_with_comments(content, *args, **kwargs)"
>
<div
class=
"${content['type'] | h}${
helpers.show_if(' endorsed', content.get('endorsed')) | h}"
_id=
"${content['id'] | h}"
_discussion_id=
"${content.get('commentable_id', '') | h}"
_author_id=
"${helpers.show_if(content['user_id'], not content.get('anonymous'))
| h}"
>
<div
class=
"${content['type'] | h}${
' endorsed' if content.get('endorsed') else ''| h}"
_id=
"${content['id'] | h}"
_discussion_id=
"${content.get('commentable_id', '') | h}"
_author_id=
"${content['user_id'] if (not content.get('anonymous')) else ''
| h}"
>
${render_content(content, *args, **kwargs)}
${render_comments(content.get('children', []), *args, **kwargs)}
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment