From 2288c7f4dca08aa4519b80ace852be8c0526d992 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Tue, 3 Jun 2014 00:22:28 +0800 Subject: Fixed a type 'identify' and updated 'list_approved' display contents * changed 'identify' to 'identity' in Model 'UserProfile' * updated forms.py, admin.py, profile.html related to 'identity' * added South migration for renaming field 'identify' to 'identity' * updated display contents of 'list_approved': removed 'identity' column * updated 'institute' field name to 'institute (and major)' * updated related translations --- account/templates/account/list_approved.html | 4 ++-- account/templates/account/profile.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'account/templates') diff --git a/account/templates/account/list_approved.html b/account/templates/account/list_approved.html index 8c2587d..0db16af 100644 --- a/account/templates/account/list_approved.html +++ b/account/templates/account/list_approved.html @@ -25,7 +25,7 @@ 序号 姓名 - {# 身份 #} + {# 身份 #} 单位(及专业) @@ -35,7 +35,7 @@ {{ forloop.counter }} {{ approved_profile.realname }} - {# {% trans approved_profile.get_identify_value %} #} + {# {% trans approved_profile.get_identity_value %} #} {{ approved_profile.institute }} {% endfor %} diff --git a/account/templates/account/profile.html b/account/templates/account/profile.html index 88e938f..d2b73e7 100644 --- a/account/templates/account/profile.html +++ b/account/templates/account/profile.html @@ -58,8 +58,8 @@ {{ profile.institute }} - 身份 - {% trans profile.get_identify_value %} + 身份 + {% trans profile.get_identity_value %} 为什么参加 -- cgit v1.2.2