Merge pull request #17246 from caesar2164/separate-file-index-promo-video

Move default Promo Video html to themable file
This commit is contained in:
Ned Batchelder
2018-01-19 16:55:37 -05:00
committed by GitHub
2 changed files with 10 additions and 7 deletions

View File

@@ -38,13 +38,7 @@ from openedx.core.djangolib.markup import HTML, Text
</div>
% if show_homepage_promo_video:
<a href="#video-modal" class="media" rel="leanModal">
<div class="hero">
<div class="play-intro"></div>
</div>
</a>
% endif
<%include file="index_promo_video.html" />
</div>
</header>

View File

@@ -0,0 +1,9 @@
<%page expression_filter="h"/>
% if show_homepage_promo_video:
<a href="#video-modal" class="media" rel="leanModal">
<div class="hero">
<div class="play-intro"></div>
</div>
</a>
% endif