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
f9b64cad
Commit
f9b64cad
authored
Oct 04, 2013
by
Alexander Kryklia
Committed by
polesye
Oct 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add display_name to lti template
parent
1fe33a0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
common/lib/xmodule/xmodule/lti_module.py
+2
-1
lms/templates/lti.html
+1
-1
No files found.
common/lib/xmodule/xmodule/lti_module.py
View file @
f9b64cad
...
...
@@ -179,7 +179,8 @@ class LTIModule(LTIFields, XModule):
'launch_url'
:
self
.
launch_url
,
'element_id'
:
self
.
location
.
html_id
(),
'element_class'
:
self
.
category
,
'open_in_a_new_page'
:
self
.
open_in_a_new_page
'open_in_a_new_page'
:
self
.
open_in_a_new_page
,
'display_name'
:
self
.
display_name
,
}
return
self
.
system
.
render_template
(
'lti.html'
,
context
)
...
...
lms/templates/lti.html
View file @
f9b64cad
...
...
@@ -34,7 +34,7 @@
% if open_in_a_new_page:
<p>
<span
class=
"description"
>
[LTI Display Name]
(External resource)
${display_name}
(External resource)
</span>
<a
href=
"#"
class=
'link_lti_new_window'
>
<i
class=
"icon-external-link"
></i>
...
...
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