Reviewers page template changes. Changed draft names so they never wrap.

Changed the Unavailability period table so it is much narrower.
Commit ready for merge.
 - Legacy-Id: 17033
This commit is contained in:
Tero Kivinen 2019-11-16 09:35:20 +00:00
parent 34f93932a2
commit 996fcf8a54
2 changed files with 15 additions and 12 deletions

View file

@ -35,7 +35,7 @@
<th>Next</th>
<th>Reviewer</th>
<th>Assigned/Deadline/state/time between assignment and closure for latest assignments</th>
<th>Days Since Completed</th>
<th>Days Since Com&shy;plet&shy;ed</th>
<th>Settings</th>
</tr>
</thead>
@ -59,7 +59,7 @@
<td>
{% if assignment_to_closure_days != None %}{{ assignment_to_closure_days }}&nbsp;day{{ assignment_to_closure_days|pluralize }}{% endif %}
</td>
<td>{{ doc_name }}{% if reviewed_rev %}-{{ reviewed_rev }}{% endif %}</td>
<td class="text-nowrap">{{ doc_name }}{% if reviewed_rev %}-{{ reviewed_rev }}{% endif %}</td>
</tr>
{% endfor %}
</table>

View file

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