Private
Public Access
1
0

wrapping text in some tables

This commit is contained in:
Sander Roosendaal
2018-03-11 10:54:57 +01:00
parent 843a94c579
commit a94912e124
6 changed files with 40 additions and 4 deletions

View File

@@ -33,15 +33,15 @@
<div class="grid_12 alpha">
<div id="left" class="grid_6 alpha">
<h1>Session {{ psdict.name.1 }}</h1>
<table class="listtable shortpadded" width="80%">
<table class="listtable shortpadded" width="95%">
{% for attr in attrs %}
{% for key,value in psdict.items %}
{% if key == attr %}
<tr>
{% if key == 'comment' %}
<td><b>{{ value.0 }}</b></td><td>{{ value.1|linebreaks }}</td>
<td><b>{{ value.0 }}</b></td><td class="wrapwords">{{ value.1|linebreaks }}</td>
{% else %}
<td><b>{{ value.0 }}</b></td><td>{{ value.1 }}</td>
<td><b>{{ value.0 }}</b></td><td class="wrapwords">{{ value.1 }}</td>
{% endif %}
</tr>
{% endif %}