]> git.0d.be Git - panikweb.git/commitdiff
add day tags to homepage
authorFrédéric Péters <fpeters@0d.be>
Mon, 1 Jul 2019 06:35:24 +0000 (08:35 +0200)
committerFrédéric Péters <fpeters@0d.be>
Mon, 1 Jul 2019 06:35:24 +0000 (08:35 +0200)
panikweb_templates/templates/home.html

index 631f08ec1bdbbb2a315ceb78cb332f12ba9462f7..3d72957fc23f6291ece0c53a286fcd605a3b4775 100644 (file)
@@ -46,6 +46,9 @@
              <div class="name"><span>{{emission.title}}</span></div>
               <div class="tags">
               {% if emission.has_focus %}<span>#podcast</span>{% endif %}
+              {% for schedule in emission.schedule_set.all %}
+                {% if forloop.counter0 == 0 %}#{{schedule.datetime|date:"l"}}{% endif %}
+              {% endfor %}
               <!-- &nbsp;<span>#espe{{emission.creation_timestamp|date:"Y"}}</span> -->
               </div>
            </div>