]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/emissions/resume.html
fixing size & title/metas order in emission episode resume
[panikweb.git] / panikweb_templates / templates / emissions / resume.html
index c54b91be7906b0a6c016b8e0ed40403e83fed9b4..57a3fd40a81b341c26a5a480ebfe22d79f5b350f 100644 (file)
                                        <img  class="smooth" width="50" height="50" src="{% static "img/defaultLogo.png" %}"/>
                                {% endif %}
                        </div>
-                       {% if emission.categories %}
-                               <div class="categories smooth ellipsis">
-                               {% for category in emission.categories.all %}
-                                       {% if forloop.counter > 1 %} - {% endif %}<em><span class="inBlock icon-{{category|slugify}}"></span>{{category}}</em>
-                               {% endfor%}
+                       <div class="title ellipsis">
+                               <h5 class="inBlock">    
+                                       {{ emission.title }}
+                               </h5>
+                               <div class="smooth metas">
+                               {% 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>
+                                       {% endfor%}
+                                       </span>
+                               {% endif %}
                                </div>
-                       {% endif %}
-                       <h5 class="title ellipsis">     
-                               {{ emission.title }}
-                       </h5>
+                       </div>
                        {% if emission.subtitle %}
                                <div class="description ellipsis">
                                        {{ emission.subtitle }}