]> git.0d.be Git - panikweb.git/commitdiff
remove category icons in more places
authorFrédéric Péters <fpeters@0d.be>
Thu, 3 Oct 2013 14:18:06 +0000 (16:18 +0200)
committerFrédéric Péters <fpeters@0d.be>
Thu, 3 Oct 2013 14:18:06 +0000 (16:18 +0200)
panikweb_templates/templates/emissions/nav.html
panikweb_templates/templates/emissions/resume.html
panikweb_templates/templates/episodes/resume.html
panikweb_templates/templates/soundfiles/resume.html

index 4af8100eabd6c3e597a7e5d020c04d88a6c6e4f8..ef4d695fe933f0cd01e393c86fe3ff0673f577e8 100644 (file)
@@ -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 %}
index cdaf9333bdaef98ae3c13e8b3b3b0ad5c5152597..373c6a8b63f081626c442316d91014393211a74f 100644 (file)
@@ -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 %}
index 166dab752dfc427cf0d69b3c8ed17bd4421e3144..a21a7524137ce75796fa80777fb90668a17a0be0 100644 (file)
@@ -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 %}
index bb409d04d6ec541611f7e9d5cd01e353d9e8f8b0..d6021c4a9110129e059c0c74d5efd90cbe5f570d 100644 (file)
@@ -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 %}