fixed get_template_path to work with absolute path also
fixed quality violation skipped test in CMS changes after feedback from mattd
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
## mako
|
||||
<%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')}" />
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
## mako
|
||||
<%namespace name='static' file='/static_content.html'/>
|
||||
<div>Microsite absolute path template contents</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
## mako
|
||||
<%namespace name='static' file='/static_content.html'/>
|
||||
<div>Microsite relative path template contents</div>
|
||||
Reference in New Issue
Block a user