1
0
Fork 0

classi in base al tag nel programma

This commit is contained in:
boyska 2017-05-24 11:33:36 +02:00
parent 3d172beb73
commit bcc35d97ee
2 changed files with 8 additions and 4 deletions

View file

@ -60,9 +60,12 @@ td.talk > a {
{% elif talk == None %}
<td></td>
{% elif not talk.skip %}
<td class="talk {% if talk.room == '*' -%}allrooms{%-endif-%}" rowspan="{{talk.duration // timestep}}"
{% if talk.room == '*'
%}colspan="{{rooms|length}}"{%endif%}>
<td class="talk
{% if talk.room == '*' -%}allrooms{%-endif-%}
{% for t in talk.tags -%} tag-{{t|replace(' ', '_')}} {%endfor-%}
"
rowspan="{{talk.duration // timestep}}"
{% if talk.room == '*' %}colspan="{{rooms|length}}"{%endif%}>
<a href="#talk-{{talk.id}}"
title="{{talk.tags|join(",")}}"
>{{talk.title}}</a>

View file

@ -1,4 +1,5 @@
<div id="talk-{{id}}">
<div id="talk-{{id}}"
class="{% for t in tags -%} tag-{{t|replace(' ', '_')}} {% endfor -%}">
<h3 class="talk-title">{{title}}</h3>
<div class="talk-info">
<p>