Fix some mako-missing-default xsslint issues in test files.

This commit is contained in:
Uman Shahzad
2017-11-29 23:50:31 +05:00
parent 37844fd927
commit 8a361300ec
20 changed files with 22 additions and 2 deletions

View File

@@ -1 +1,2 @@
<%page expression_filter="h"/>
# intentionally left blank

View File

@@ -1 +1,2 @@
<%page expression_filter="h"/>
# intentionally left blank

View File

@@ -1 +1,2 @@
<%page expression_filter="h"/>
# intentionally left blank

View File

@@ -1 +1,2 @@
<%page expression_filter="h"/>
# intentionally left blank

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%inherit file="dashboard.html" />
<%block name="pagetitle">Overridden Title!</%block>
${parent.body()}

View File

@@ -1,4 +1,5 @@
## mako
<%page expression_filter="h"/>
<%namespace name='static' file='/static_content.html'/>
<%include file="${static.get_template_path('courseware/test_relative_path.html')}" />
<%include file="${static.get_template_path('/courseware/test_absolute_path.html')}" />

View File

@@ -1,4 +1,5 @@
## mako
<%page expression_filter="h"/>
<%namespace name='static' file='/static_content.html'/>
<%!
from django.utils.translation import ugettext as _

View File

@@ -1,3 +1,4 @@
## mako
<%page expression_filter="h"/>
<%namespace name='static' file='/static_content.html'/>
<div>Microsite absolute path template contents</div>

View File

@@ -1,3 +1,4 @@
## mako
<%page expression_filter="h"/>
<%namespace name='static' file='/static_content.html'/>
<div>Microsite relative path template contents</div>

View File

@@ -1,4 +1,5 @@
## mako
<%page expression_filter="h"/>
<%namespace name='static' file='static_content.html'/>
<%!
from django.core.urlresolvers import reverse

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%namespace name='static' file='../../static_content.html'/>
<% style_overrides_file = static.get_value('css_overrides_file') %>

View File

@@ -1,4 +1,5 @@
<%!
<%page expression_filter="h"/>
<%!
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
%>

View File

@@ -1,4 +1,5 @@
<%!
<%page expression_filter="h"/>
<%!
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
%>

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../../../static_content.html'/>

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%!

View File

@@ -1 +1,2 @@
<%page expression_filter="h"/>
This is a copyright page for an Open edX site.

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%!

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%!

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<html>
<head>
<title>Payment Error</title>

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<html>
<head><title>Payment Form</title>
</head>