Merge branch 'develop' into call-summary-dialog
This commit is contained in:
commit
12cd4bcd71
@ -58,7 +58,7 @@
|
||||
|
||||
{% macro title() %}
|
||||
<div class="mb-3">
|
||||
<a href="#" class="text-muted">
|
||||
<a href="/lms/course?name={{ course }}&program={{ program }}" class="text-muted">
|
||||
Back to Course
|
||||
</a>
|
||||
</div>
|
||||
|
@ -45,7 +45,7 @@
|
||||
<div onclick="show_singup()">
|
||||
{% endif %}
|
||||
{% if topic.hero_image %}
|
||||
<div class="card-hero-img" style="background-image: url('{{ topic.hero_image }})'"></div>
|
||||
<div class="card-hero-img" style="background-image: url('{{ topic.hero_image }}')"></div>
|
||||
{% else %}
|
||||
<div class="card-image-wrapper text-center">
|
||||
<div class="image-body"><i class="fa fa-picture-o" aria-hidden="true"></i></div>
|
||||
@ -96,7 +96,7 @@
|
||||
{{ card(topic) }}
|
||||
{% endfor %}
|
||||
{% if topics %}
|
||||
{% for n in range(((topics|length)%3)) %}
|
||||
{% for n in range( (3 - (topics|length)) %3) %}
|
||||
{{ null_card() }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
@ -55,7 +55,7 @@
|
||||
{{ program_card(program.program, program.has_access) }}
|
||||
{% endfor %}
|
||||
{% if featured_programs %}
|
||||
{% for n in range((featured_programs|length)%3) %}
|
||||
{% for n in range( (3 - (featured_programs|length)) %3) %}
|
||||
{{ null_card() }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
@ -77,7 +77,7 @@
|
||||
{{ card(course) }}
|
||||
{% endfor %}
|
||||
{% if courses %}
|
||||
{% for n in range((courses|length)%3) %}
|
||||
{% for n in range( (3 - (courses|length)) %3) %}
|
||||
{{ null_card() }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
@ -48,7 +48,7 @@
|
||||
{{ card(content, loop.index, topic.contents|length) }}
|
||||
{% endfor %}
|
||||
{% if contents %}
|
||||
{% for n in range((contents|length)%3) %}
|
||||
{% for n in range( (3 - (contents|length)) %3) %}
|
||||
{{ null_card() }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user