增加显示真实姓名的隐藏功能

This commit is contained in:
virusdefender
2015-09-16 12:57:48 +08:00
parent cc0562f348
commit 758132c40d
2 changed files with 10 additions and 2 deletions

View File

@@ -45,7 +45,12 @@
{% for item in result %}
<tr>
<th scope="row">{{ forloop.counter }}</th>
<td>{{ item.username }}</td>
<td>
{{ item.username }}
{% if show_real_name %}
{{ item.real_name }}
{% endif %}
</td>
<td>{{ item.total_ac }} / {{ item.total_submit }}</td>
<td>{% if item.total_time %}{{ item.total_time }}{% else %}--{% endif %}</td>
{% for problem in item.problems %}