Merge pull request #17246 from caesar2164/separate-file-index-promo-video
Move default Promo Video html to themable file
This commit is contained in:
@@ -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>
|
||||
|
||||
9
lms/templates/index_promo_video.html
Normal file
9
lms/templates/index_promo_video.html
Normal 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
|
||||
Reference in New Issue
Block a user