From 2acb62174ab2cac9c7a88faafcb5f0a22a54db6f Mon Sep 17 00:00:00 2001 From: Mike Chen Date: Sun, 5 Jul 2009 10:23:06 +0800 Subject: initiliaze git rep --- templates/user_info.html | 86 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 templates/user_info.html (limited to 'templates/user_info.html') diff --git a/templates/user_info.html b/templates/user_info.html new file mode 100644 index 00000000..1700fda8 --- /dev/null +++ b/templates/user_info.html @@ -0,0 +1,86 @@ +{% load extra_tags %} +{% load extra_filters %} +{% load humanize %} +
+ {{view_user.username}} + +
+ + + + + + + +
+ + + + + + + +
+ {% gravatar view_user 128 %} +
+
{{view_user.reputation|intcomma}}
+

积分

+
+
+ + + + + + {% if view_user.real_name %} + + + + + {% endif %} + + + + + {% if view_user.last_seen %} + + + + + {% endif %} + {% if view_user.website %} + + + + + {% endif %} + {% if view_user.location %} + + + + + {% endif %} + {% if view_user.date_of_birth%} + + + + + {% endif %} + {% if votes_today_left %} + + + + + {% endif %} +
注册用户 + {% if request.user|can_view_user_edit:view_user %} + 更新我的资料 + {% endif %} +
姓名{{view_user.real_name}}
已加入{{ view_user.date_joined|timesince }}
上次活动时间{{ view_user.last_seen|timesince }}前
个人网站{{view_user.website}}
城市{{view_user.location}}
年龄{% get_age view_user.date_of_birth %} 岁
今日剩余投票数{{ votes_today_left }}
+
+
+ {% if view_user.about %} + {{view_user.about|safe|linebreaks}} + {% endif %} +
+
\ No newline at end of file -- cgit v1.2.3-1-g7c22