aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--account/templates/account/list_approved.html9
-rw-r--r--templates/navbar.html4
2 files changed, 7 insertions, 6 deletions
diff --git a/account/templates/account/list_approved.html b/account/templates/account/list_approved.html
index 4bae4a2..3fbe2a2 100644
--- a/account/templates/account/list_approved.html
+++ b/account/templates/account/list_approved.html
@@ -1,6 +1,7 @@
{% extends 'base.html' %}
{% load staticfiles %}
{% load url from future %}
+{% load i18n %}
{% load bootstrap3 %}
{# login template #}
@@ -17,9 +18,10 @@
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
- <th class="col-md-1">序号</th>
- <th class="col-md-3">姓名</th>
- <th class="col-md-8">单位</th>
+ <th class="col-md-1 list-number">序号</th>
+ <th class="col-md-2 list-name">姓名</th>
+ <th class="col-md-2 list-identify">身份</th>
+ <th class="col-md-7 list-institute">单位</th>
</tr>
</thead>
<tbody>
@@ -28,6 +30,7 @@
<tr{% if profile.user == user %} class="success"{% endif %}>
<td>{{ forloop.counter }}</td>
<td>{{ profile.realname }}</td>
+ <td>{% trans profile.get_identify_value %}</td>
<td>{{ profile.institute }}</td>
</tr>
{% endfor %}
diff --git a/templates/navbar.html b/templates/navbar.html
index 906bcf2..c4f84c2 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -24,10 +24,8 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">更多 <b class="caret"></b></a>
<ul class="dropdown-menu">
- {% if user.is_authenticated %}
<li><a href="{% url 'list_approved' %}">审定名单</a></li>
- {% endif %}
- <li><a href="#">下载</a></li>
+ <li><a href="#">资料下载</a></li>
<li><a href="#">赞助方</a></li>
<li><a href="#">联系方式</a></li>
<li class="divider"></li>