|
|
|
@ -1,3 +1,4 @@ |
|
|
|
|
{% if app.user.status != 5 %} |
|
|
|
|
<div class="accordion course-accordion" id="course-tools"> |
|
|
|
|
{% for block in blocks %} |
|
|
|
|
<div class="card"> |
|
|
|
@ -47,4 +48,28 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div class="row"> |
|
|
|
|
{% for block in blocks %} |
|
|
|
|
{% if 'homepage_view'|api_get_setting == 'activity_big' %} |
|
|
|
|
{% for item in block.content %} |
|
|
|
|
<div class="col-6 col-md-2 "> |
|
|
|
|
<div class="tools mt-3 mb-3 p-2"> |
|
|
|
|
<div class="big_icon"> |
|
|
|
|
{{ item.tool.image|raw }} |
|
|
|
|
</div> |
|
|
|
|
<div class="content pt-2 pb-2"> |
|
|
|
|
{{ item.extra|raw }} |
|
|
|
|
{{ item.link|raw }} |
|
|
|
|
<div class="view"> |
|
|
|
|
{{ item.visibility|raw }} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
{% endif %} |
|
|
|
|
{% endfor %} |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |