<div class="courses col-md-9 col-sm-12" style="padding-right: 0px;">
{# --- Type of price, default NET --- #}
{% set typeParam = app.request.query.get('apivalue') %}
{% if typeParam is not empty and (typeParam == 'netto' or typeParam == 'brutto') %}
{% set initialType = typeParam %}
{% else %}
{% set initialType = 'netto' %}
{% endif %}
{# --- END OF: Type of price, default NET --- #}
<div class="switch-net-gross-box--category">
<span>Pokazuj ceny jako:</span>
<div class="btn-group btn-group-sm" role="group" aria-label="Switch net/gross" style="padding-left: 4px;">
<button type="button"
class="btn btn-info {{ initialType == 'netto' ? 'active' : '' }} js-switch-listing-netto">
netto
</button>
<button type="button"
class="btn btn-info {{ initialType == 'brutto' ? 'active' : '' }} js-switch-listing-brutto">
brutto
</button>
</div>
</div>
{% if categorySlug is same as('onkologia') %}
<div>
<img src="{{ asset('/uniqskills/img/kompedium-onkologa.jpg') }}" alt="" class="img-responsive">
</div>
{% endif %}
<div id="spinner"></div>
{% for item in pagination %}
{% include '/uniqskills/catalogue/course_catalogue_item.html.twig' with {'item': item} %}
{% endfor %}
{% if pagination|length == 0 %}
<p>{{ 'uniqskills.catalog.courses.noCourse'|trans }}</p>
{% endif %}
</div>
<div class="pagination col-sm-12">
{{ knp_pagination_render(pagination) }}
</div>