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
cbbda52a
Commit
cbbda52a
authored
Mar 23, 2016
by
Peter Fogg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[safe templates] Support views.
parent
b6b442d8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
lms/templates/support/certificates.html
+5
-2
lms/templates/support/enrollment.html
+1
-0
lms/templates/support/index.html
+1
-0
No files found.
lms/templates/support/certificates.html
View file @
cbbda52a
<
%
page
expression_filter=
"h"
/>
<
%!
from
django
.
core
.
urlresolvers
import
reverse
from
django
.
utils
.
translation
import
ugettext
as
_
from
openedx
.
core
.
djangolib
.
js_utils
import
js_escaped_string
%
>
<
%
namespace
name=
'static'
file=
'../static_content.html'
/>
...
...
@@ -9,8 +12,8 @@ from django.utils.translation import ugettext as _
<
%
block
name=
"js_extra"
>
<
%
static:require_module
module_name=
"support/js/certificates_factory"
class_name=
"CertificatesFactory"
>
new CertificatesFactory({
userFilter: '${ user_filter }',
courseFilter: '${
course_filter
}'
userFilter: '${ user_filter
| n, js_escaped_string
}',
courseFilter: '${
course_filter | n, js_escaped_string
}'
});
</
%
static:require
_module
>
</
%
block>
...
...
lms/templates/support/enrollment.html
View file @
cbbda52a
<
%
page
expression_filter=
"h"
/>
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
from
openedx
.
core
.
djangolib
.
js_utils
import
js_escaped_string
...
...
lms/templates/support/index.html
View file @
cbbda52a
## mako
<
%
page
expression_filter=
"h"
/>
<
%!
from
django
.
core
.
urlresolvers
import
reverse
from
django
.
utils
.
translation
import
ugettext
as
_
...
...
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