forked from rc/aircox
		
	
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% extends "aircox/basepage_list.html" %}
 | 
						|
{% load i18n %}
 | 
						|
 | 
						|
{% block filters %}
 | 
						|
{{ block.super }}
 | 
						|
<div class="field is-horizontal">
 | 
						|
    <div class="field-label">
 | 
						|
        <label class="label">{% translate "Podcasts" %}</label>
 | 
						|
    </div>
 | 
						|
    <div class="field-body">
 | 
						|
        <div class="checkbox">
 | 
						|
            <input type="checkbox" class="checkbox" name="podcast" value="True"
 | 
						|
                {% if filterset_data.podcast %}checked{% endif %} />
 | 
						|
        </div>
 | 
						|
    </div>
 | 
						|
</div>
 | 
						|
{% endblock %}
 | 
						|
 | 
						|
{% block list-container %}
 | 
						|
{% with list_class="list-podcasts" %}
 | 
						|
{{ block.super }}
 | 
						|
{% endwith %}
 | 
						|
{% endblock %}
 | 
						|
 | 
						|
{% block secondary-nav %}
 | 
						|
{% if not parent and categories %}
 | 
						|
<nav class="nav secondary">
 | 
						|
    <div class="nav-menu nav-categories">
 | 
						|
        {% for cat in categories %}
 | 
						|
        <a class="nav-item{% if cat == category %} active{% endif %}"
 | 
						|
            href="{% url request.resolver_match.url_name category_slug=cat.slug %}">
 | 
						|
            {{ cat.title }}
 | 
						|
        </a>
 | 
						|
        {% endfor %}
 | 
						|
    </div>
 | 
						|
    <a-switch class="button burger"
 | 
						|
        el=".nav-categories" group="nav" icon="fas fa-tags"
 | 
						|
        aria-label="{% translate "Categories" %}">
 | 
						|
    </a-switch>
 | 
						|
</nav>
 | 
						|
{% endif %}
 | 
						|
{% endblock %}
 |