Merge the table into one ...
This commit is contained in:
1 parent
fc1c3af9f1
commit
96371ad961
1 file changed
+12
-8
@@ -3,9 +3,18 @@
|
|||||||
{% load mytags %}
|
{% load mytags %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>Pending</h2>
|
|
||||||
<table>
|
<table>
|
||||||
|
<tr><td style="background-color:white;text-align:left"><h2>Pending</h2></td></tr>
|
||||||
|
{% if pending %}
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>Creation</th>
|
||||||
|
<th>Author</th>
|
||||||
|
<th>Test</th>
|
||||||
|
<th>Diff</th>
|
||||||
|
<th>Stats</th>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
{% for test in pending %}
|
{% for test in pending %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{test.creation|date:'Y-m-d'}}</td>
|
<td>{{test.creation|date:'Y-m-d'}}</td>
|
||||||
@@ -15,13 +24,10 @@
|
|||||||
{% autoescape off %}
|
{% autoescape off %}
|
||||||
<td style="text-align:left;font-size:14px"><strong>{{test|statParagraph}}</strong></td>
|
<td style="text-align:left;font-size:14px"><strong>{{test|statParagraph}}</strong></td>
|
||||||
{% endautoescape %}
|
{% endautoescape %}
|
||||||
<td><a href="/approveTest/{{test.id}}">approve</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2>Active</h2>
|
<tr><td style="background-color:white;text-align:left"><h2>Active</h2></td></tr>
|
||||||
<table>
|
|
||||||
{% if active %}
|
{% if active %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>Creation</th>
|
<th>Creation</th>
|
||||||
@@ -42,10 +48,8 @@
|
|||||||
{% endautoescape %}
|
{% endautoescape %}
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<table>
|
|
||||||
|
|
||||||
<h2>Finished</h2>
|
<tr><td style="background-color:white;text-align:left"><h2>Finished</h2></td></tr>
|
||||||
<table>
|
|
||||||
{% if completed %}
|
{% if completed %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>Creation</th>
|
<th>Creation</th>
|
||||||
|
|||||||
Reference in new issue
Block a user