增加显示所有提交的调试功能

This commit is contained in:
virusdefender
2015-09-22 14:28:46 +08:00
parent 0e50f7fdc5
commit 5ac16a3c7f
2 changed files with 23 additions and 12 deletions

View File

@@ -27,7 +27,10 @@
<tbody>
{% for item in submissions %}
<tr>
<th scope="row"><a href="/submission/{{ item.id }}/">{{ forloop.counter }}</a></th>
<th scope="row">
<a href="/submission/{{ item.id }}/">{{ forloop.counter }}</a>
{% if show_all %}{{ item.user.username }}{% endif %}
</th>
<td>{{ item.create_time }}</td>
<td>
{{ item.language|translate_language }}