Added padding to the <th> column in the unavailability period list of

the reviewers page. Commit ready for merge.
 - Legacy-Id: 17037
This commit is contained in:
Tero Kivinen 2019-11-17 04:21:16 +00:00
parent b5d864499f
commit c41e5b5ddb

View file

@ -1,17 +1,18 @@
<table class="simple-table">
{% for p in unavailable_periods %}
<tr class="unavailable-period-{{ p.state }}">
<th>Dates:</th>
<th class="padded-right">Dates:</th>
<td> {% if p.start_date or p.end_date %}{{ p.start_date|default:"&infin;" }} -{% endif %} {{ p.end_date|default:"&infin;" }}</td>
</tr>
<tr class="unavailable-period-{{ p.state }}">
<th>Availability:</th>
<th class="padded-right">Availability:</th>
<td>{{ p.get_availability_display }}</td>
</tr>
<tr class="unavailable-period-{{ p.state }}">
<th>Reason:</th>
<th class="padded-right">Reason:</th>
<td>{{ p.reason }}</td>
</tr>
<tr><td>&nbsp;</td></td></td></tr>
{% endfor %}
</table>