Adjust layout of gaps page
This commit is contained in:
parent
23d0219252
commit
2ac5c905dd
|
@ -29,11 +29,11 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for gap in gaps %}
|
{% for gap in gaps %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{% for event in gap.before %}{% if not loop.first %}, {% endif %}{{ event.title or event.name }}{% endfor %}</td>
|
<td>{% for event in gap.before %}{% if not loop.first %}<br/>{% endif %}<span class="text-nowrap">{{ event.title or event.name }}</span>{% endfor %}</td>
|
||||||
<td class="text-end">{{ gap.start.strftime("%A, %-d %b %Y") }}</td>
|
<td class="text-end text-nowrap">{{ gap.start.strftime("%A, %-d %b %Y") }}</td>
|
||||||
<td class="text-end">{{ gap.end.strftime("%A, %-d %b %Y") }}</td>
|
<td class="text-end text-nowrap">{{ gap.end.strftime("%A, %-d %b %Y") }}</td>
|
||||||
<td class="text-end">{{ (gap.end - gap.start).days }} days</td>
|
<td class="text-end text-nowrap">{{ (gap.end - gap.start).days }} days</td>
|
||||||
<td>{% for event in gap.after %}{% if not loop.first %}, {% endif %}{{ event.title or event.name }}{% endfor %}</td>
|
<td>{% for event in gap.after %}{% if not loop.first %}<br/>{% endif %}<span class="text-nowrap">{{ event.title or event.name }}</span>{% endfor %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in a new issue