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
7ecbed43
Commit
7ecbed43
authored
May 17, 2016
by
Robert Raposa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make _thread_list_template.html safe.
parent
1ba73efc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lms/templates/discussion/_thread_list_template.html
+5
-2
No files found.
lms/templates/discussion/_thread_list_template.html
View file @
7ecbed43
<
%
page
expression_filter=
"h"
/>
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<script
type=
"text/template"
id=
"thread-list-template"
>
<
div
class
=
"forum-nav-header"
>
...
...
@@ -40,7 +41,8 @@
<
option
value
=
"flagged"
>
$
{
_
(
"Flagged"
)}
<
/option
>
%
endif
<
/select
>
<
/label>${"<% if
(
isCohorted && isPrivilegedUser
)
{ %>"}<label class="forum-nav-filter-cohort"
>
##
safe
-
lint
:
disable
=
python
-
parse
-
error
,
python
-
wrap
-
html
<
/label>${"<% if
(
isCohorted && isPrivilegedUser
)
{ %>" | n, decode.utf8}<label class="forum-nav-filter-cohort"
>
##
Translators
:
This
labels
a
cohort
menu
in
forum
navigation
<
span
class
=
"sr"
>
$
{
_
(
"Cohort:"
)}
<
/span
>
<
select
class
=
"forum-nav-filter-cohort-control"
>
...
...
@@ -49,7 +51,8 @@
<
option
value
=
"${c['id']}"
>
$
{
c
[
'name'
]}
<
/option
>
%
endfor
<
/select
>
<
/label>${"<% } %>"}<label class="forum-nav-sort"
>
##
safe
-
lint
:
disable
=
python
-
parse
-
error
,
python
-
wrap
-
html
<
/label>${"<% } %>" | n, decode.utf8}<label class="forum-nav-sort"
>
##
Translators
:
This
labels
a
sort
menu
in
forum
navigation
<
span
class
=
"sr"
>
$
{
_
(
"Sort:"
)}
<
/span
>
<
select
class
=
"forum-nav-sort-control"
>
...
...
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