Add display_name to lti template
This commit is contained in:
committed by
polesye
parent
1fe33a0f11
commit
f9b64cad32
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user