Commit f9b64cad by Alexander Kryklia Committed by polesye

Add display_name to lti template

parent 1fe33a0f
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment