parent
a423d0714e
commit
e1e90eb92a
@ -1,40 +1,40 @@ |
|||||||
{% for block in blocks %} |
{% for block in blocks %} |
||||||
{% if block.title %} |
{% if block.title %} |
||||||
<div class="row"> |
<div class="page-header"> |
||||||
<div class="col-md-12"> |
<h4 class="title-tools">{{ block.title }}</h4> |
||||||
<h4 class="title-tools">{{ block.title }}</h4> |
|
||||||
</div> |
|
||||||
</div> |
</div> |
||||||
|
|
||||||
{% endif %} |
{% endif %} |
||||||
|
|
||||||
<div class="row {{ block.class }}"> |
<div class="row"> |
||||||
{% if 'homepage_view'|api_get_setting == 'activity' %} |
<div class="{{ block.class }}"> |
||||||
|
{% if 'homepage_view'|api_get_setting == 'activity' %} |
||||||
{% for item in block.content %} |
{% for item in block.content %} |
||||||
<div class="offset2 col-md-4 course-tool"> |
<div class="offset2 col-md-4 course-tool"> |
||||||
{{ item.extra }} |
{{ item.extra }} |
||||||
{{ item.visibility }} |
{{ item.visibility }} |
||||||
{{ item.icon }} |
{{ item.icon }} |
||||||
{{ item.link }} |
{{ item.link }} |
||||||
</div> |
</div> |
||||||
{% endfor %} |
{% endfor %} |
||||||
{% endif %} |
{% endif %} |
||||||
|
|
||||||
{% if 'homepage_view'|api_get_setting == 'activity_big' %} |
{% if 'homepage_view'|api_get_setting == 'activity_big' %} |
||||||
{% for item in block.content %} |
{% for item in block.content %} |
||||||
<div class="col-xs-6 col-sm-4 col-md-3"> |
<div class="col-xs-6 col-sm-4 col-md-3"> |
||||||
<div class="course-tool"> |
<div class="course-tool"> |
||||||
<div class="big_icon"> |
<div class="big_icon"> |
||||||
{{ item.tool.image }} |
{{ item.tool.image }} |
||||||
</div> |
</div> |
||||||
<div class="content"> |
<div class="content"> |
||||||
{{ item.visibility }} |
{{ item.visibility }} |
||||||
{{ item.extra }} |
{{ item.extra }} |
||||||
{{ item.link }} |
{{ item.link }} |
||||||
</div> |
|
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
|
</div> |
||||||
{% endfor %} |
{% endfor %} |
||||||
{% endif %} |
{% endif %} |
||||||
|
</div> |
||||||
</div> |
</div> |
||||||
|
|
||||||
{% endfor %} |
{% endfor %} |
||||||
|
|||||||
Loading…
Reference in new issue