We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bad3b29 + 71b5ef4 commit 4cf3c00Copy full SHA for 4cf3c00
themes/stanford-style/lms/templates/static_templates/tos.html
@@ -1,4 +1,5 @@
1
## mako
2
+<%page expression_filter="h"/>
3
<%!
4
from django.utils.translation import ugettext as _
5
%>
@@ -27,6 +28,7 @@ <h2 id="copyright">${_('Copyright')}</h2>
27
28
<script>
29
$(document).ready(function() {
30
var print_tos = '<input type="button" value="Print Terms of Service" class="print">';
31
+ // xss-lint: disable=javascript-jquery-prepend, javascript-jquery-append
32
$('#content section.tos').prepend(print_tos).append(print_tos);
33
$('#content section.tos input.print').click(function() {
34
window.print();
0 commit comments