Skip to content
Snippets Groups Projects
Commit cc11050e authored by Michael Enz's avatar Michael Enz
Browse files

no-jira: course preview: use bootstrap .row differently

parent 9c638f3c
No related branches found
No related tags found
No related merge requests found
......@@ -39,13 +39,20 @@
#end
#if ($children.size() > 0)
<div class="o_toc #if ($layoutType == 1) o_one_column #else o_two_column #end row">
#foreach($coursenode in $children)
## display in two rows when scren is larger than 992px and two columns layout selected
<div class="col-sm-12 #if ($layoutType == 2) col-md-6 o_column #end">
$r.render("childView_${coursenode.getIdent()}")
</div>
#end
#set ($i = 0)
<div class="o_toc #if ($layoutType == 1) o_one_column #else o_two_column #end">
<div class="row">
#foreach($coursenode in $children)
## display in two rows when screen is larger than 992px and two columns layout selected
<div class="col-sm-12 #if ($layoutType == 2) col-md-6 o_column #end">
$r.render("childView_${coursenode.getIdent()}")
</div>
#set ($i = $i + 1)
#if($i%2 == 0)
</div><div class="row">
#end
#end
</div>
</div>
#end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment