From 4c59c651baa7e9d29f90419c905745fd3ab025d8 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Mon, 21 Apr 2014 16:09:36 +0800 Subject: * implemented 'list_approved' view, added related template * updated related link in 'navbar.html' --- account/templates/account/list_approved.html | 45 ++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 account/templates/account/list_approved.html (limited to 'account/templates') diff --git a/account/templates/account/list_approved.html b/account/templates/account/list_approved.html new file mode 100644 index 0000000..4bae4a2 --- /dev/null +++ b/account/templates/account/list_approved.html @@ -0,0 +1,45 @@ +{% extends 'base.html' %} +{% load staticfiles %} +{% load url from future %} +{% load bootstrap3 %} + +{# login template #} + +{% block title %} +审定名单 | 2014 SKA Summer School +{% endblock %} + +{% block content %} +
+

审定名单

+
+ {% if object_list %} + + + + + + + + + + {# mark out current user if approved #} + {% for profile in object_list %} + + + + + + {% endfor %} + +
序号姓名单位
{{ forloop.counter }}{{ profile.realname }}{{ profile.institute }}
+

(注:按注册先后排序)

+ {% else %} +
+ 审核正在进行,请稍后查询…… +
+ {% endif %} +
+{% endblock %} + +{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} -- cgit v1.2.2