Commit f12a7152 authored by fred's avatar fred
Browse files

remove category icons in more places

parent cd686090
......@@ -28,9 +28,9 @@
{% endif %}
{% for category in categories %}
{% if class = "grid" %}
<li><button class="check icon-check-empty" data-about="#Main" data-highlight=".{{ category|slugify }}"><span class="category">{{ category }}</span><!--&nbsp;<span class="icon-{{category|slugify}}"></span>--></button></li>
<li><button class="check icon-check-empty" data-about="#Main" data-highlight=".{{ category|slugify }}"><span class="category">{{ category }}</span></button></li>
{% else %}
<li><button class="check icon-check-empty" data-about="#Main" data-toggle=".{{ category|slugify }}"><span class="category">{{ category }}</span><!--&nbsp;<span class="icon-{{category|slugify}}"></span>--></button></li>
<li><button class="check icon-check-empty" data-about="#Main" data-toggle=".{{ category|slugify }}"><span class="category">{{ category }}</span></button></li>
{% endif %}
{% endfor %}
</ul>
......@@ -48,7 +48,7 @@
{% if emission.categories %}
<div class="categories">
{% for category in emission.categories.all %}
<a href="{% url 'emissions' %}?q={{category.slug}}"><!--<span class="icon-{{category|slugify}}"></span>&nbsp;--><span class="category">{{category}}</span></a>
<a href="{% url 'emissions' %}?q={{category.slug}}"><span class="category">{{category}}</span></a>
{% endfor%}
</div>
{% endif %}
......
......@@ -18,7 +18,7 @@
{% if emission.categories %}
<span class="categories ellipsis">
{% for category in emission.categories.all %}
{% if forloop.counter > 1 %} - {% endif %}<span class="category"><span class="inBlock icon-{{category|slugify}}">&nbsp;</span>{{category}}</span>
{% if forloop.counter > 1 %} - {% endif %}<span class="category">{{category}}</span>
{% endfor%}
</span>
{% endif %}
......
......@@ -54,7 +54,7 @@
{% if episode.emission.categories %}
<span class="categories">
{% for category in episode.emission.categories.all %}
{% if forloop.counter > 1 %} - {% endif %}<span class="category"><span class="inBlock icon-{{category|slugify}}">&nbsp;</span>{{category}}</span>
{% if forloop.counter > 1 %} - {% endif %}<span class="category">{{category}}</span>
{% endfor%}
</span>
{% endif %}
......
......@@ -34,7 +34,7 @@
{% if soundfile.episode.emission.categories %}
<span class="categories">
{% for category in soundfile.episode.emission.categories.all %}
{% if forloop.counter > 1 %} - {% endif %}<span class="category"><span class="inBlock icon-{{category|slugify}}">&nbsp;</span>{{category}}</span>
{% if forloop.counter > 1 %} - {% endif %}<span class="category">{{category}}</span>
{% endfor%}
</span>
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment