From: laron Date: Sun, 8 Sep 2013 19:37:32 +0000 (+0200) Subject: fixing size & title/metas order in emission episode resume X-Git-Tag: v2021~866 X-Git-Url: https://git.0d.be/?p=panikweb.git;a=commitdiff_plain;h=9abec7c73035e4ced8dd0d68c2b0e30ad29f56aa fixing size & title/metas order in emission episode resume --- diff --git a/panikweb_templates/static/css/specifics.css b/panikweb_templates/static/css/specifics.css index 1366f07..d406d6f 100644 --- a/panikweb_templates/static/css/specifics.css +++ b/panikweb_templates/static/css/specifics.css @@ -588,7 +588,7 @@ body{ float: right; } .episode.inline .logo{ - min-height: 75px; + min-height: 50px; float: left; margin-right:1em; } @@ -775,7 +775,7 @@ ul.newsSpecial{ } .program-week .inline,.program-week .resume{padding:0;} .program-week .description{color:#aaa;} - +.program-week .metas{display:inline-block;} /****************************************************/ /**** SEARCH ****/ diff --git a/panikweb_templates/templates/emissions/resume.html b/panikweb_templates/templates/emissions/resume.html index c54b91b..57a3fd4 100644 --- a/panikweb_templates/templates/emissions/resume.html +++ b/panikweb_templates/templates/emissions/resume.html @@ -10,16 +10,20 @@ {% endif %} - {% if emission.categories %} -
- {% for category in emission.categories.all %} - {% if forloop.counter > 1 %} - {% endif %}{{category}} - {% endfor%} +
+
+ {{ emission.title }} +
+
+ {% if emission.categories %} + + {% for category in emission.categories.all %} + {% if forloop.counter > 1 %} - {% endif %} {{category}} + {% endfor%} + + {% endif %}
- {% endif %} -
- {{ emission.title }} -
+
{% if emission.subtitle %}
{{ emission.subtitle }} diff --git a/panikweb_templates/templates/episodes/resume.html b/panikweb_templates/templates/episodes/resume.html index f4f27a3..4d89506 100644 --- a/panikweb_templates/templates/episodes/resume.html +++ b/panikweb_templates/templates/episodes/resume.html @@ -42,23 +42,26 @@ {% if episode.main_sound and model != "inline"%}
{% audio sound=episode.main_sound %}
{% endif %} - {% if class = "standalone" %} -
+
+
+ {{ episode.title }} +
+
+ {% if class = "standalone" %}
{{ episode.emission.title }}
{% if episode.emission.categories %} {% for category in episode.emission.categories.all %} - {% if forloop.counter > 1 %} - {% endif %}{{category}} + {% if forloop.counter > 1 %} - {% endif %} {{category}} {% endfor%} {% endif %} + {% endif %}
- {% endif %} -
- {{ episode.title }} -
+
+ {% if model = "inline" %} {% if episode.subtitle %}