Supplier templates
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
{% assign skip_course_page = false %}
|
||||
{% for category in course.categories %}
|
||||
{% if category.name == 'Blog' or category.name == 'HelpDoc' %}
|
||||
{% if category.name == 'Blog' %}
|
||||
{% comment %}{% or category.name == 'HelpDoc' %} {% endcomment %}
|
||||
{% assign skip_course_page = true %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
{% if result.type == "course" %}
|
||||
<div class="np-card np-search-result">
|
||||
<div class="np-card-container">
|
||||
<div class="np-card-content">
|
||||
@ -17,3 +18,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@ -5,11 +5,13 @@
|
||||
{% endif %}
|
||||
|
||||
{% assign skip_overview = false %}
|
||||
{% comment %}
|
||||
{% for category in course.categories %}
|
||||
{% if category.name == 'HelpDoc' %}
|
||||
{% assign skip_overview = true %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endcomment %}
|
||||
{% if skip_overview %}
|
||||
{% if course.enrolled? %}
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user