diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-22 01:09:37 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-22 01:09:37 +0800 |
commit | 7b9c7d04ba8080910dbf2b733685b3ed27fef6cc (patch) | |
tree | fff2a2b7890b9c031fa22e35893477bf3dd5b169 /account/templates | |
parent | 6252823e3bb7475fd7d07eac7485d759d894f75f (diff) | |
download | django-skaschool-7b9c7d04ba8080910dbf2b733685b3ed27fef6cc.tar.bz2 |
* added column 'identify' to 'list_approved' view
* updated navbar.html to always show 'list_approved' but login_required
Diffstat (limited to 'account/templates')
-rw-r--r-- | account/templates/account/list_approved.html | 9 |
1 files changed, 6 insertions, 3 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 %} |