Merged in [17037] from kivinen@iki.fi:

Added padding to the <th> column in the unavailability period list of
the reviewers page.
 - Legacy-Id: 17065
Note: SVN reference [17037] has been migrated to Git commit c41e5b5ddb
This commit is contained in:
Henrik Levkowetz 2019-11-20 09:40:08 +00:00
commit f09c404a5e

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>