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:
parent
34f93932a2
commit
996fcf8a54
|
@ -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­plet­ed</th>
|
||||
<th>Settings</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<td>
|
||||
{% if assignment_to_closure_days != None %}{{ assignment_to_closure_days }} 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>
|
||||
|
|
|
@ -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:"∞" }} -{% endif %} {{ p.end_date|default:"∞" }}</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:"∞" }} -{% endif %} {{ p.end_date|default:"∞" }}</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> </td></td></td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue