From a597566bf12a6feb5a760f1e816468750612ffe0 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Fri, 31 Dec 2010 19:33:39 -0500 Subject: moved most includable templates to directory blocks and user templates to the directory user_profile --- .../default/templates/user_profile/user_edit.html | 92 ++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 askbot/skins/default/templates/user_profile/user_edit.html (limited to 'askbot/skins/default/templates/user_profile/user_edit.html') diff --git a/askbot/skins/default/templates/user_profile/user_edit.html b/askbot/skins/default/templates/user_profile/user_edit.html new file mode 100644 index 00000000..ecdc8809 --- /dev/null +++ b/askbot/skins/default/templates/user_profile/user_edit.html @@ -0,0 +1,92 @@ +{% extends "one_column_body.html" %} +{% import "macros.html" as macros %} + +{% block title %}{% spaceless %}{% trans %}Edit user profile{% endtrans %}{% endspaceless %}{% endblock %} +{% block content %} +
+ {{ request.user.username }} - {% trans %}edit profile{% endtrans %} +
+
+
+
+ {% if request.user.email %} + {{ macros.gravatar(request.user, 128) }} + {% else %} + + {% endif %} +

{% trans %}change picture{% endtrans %}

+

+
+

{% trans %}Registered user{% endtrans %}

+ + + + + + + + + {% else %} + {{ request.user.username }} + {% endif %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{% trans %}Screen Name{% endtrans %}: + {% if settings.EDITABLE_SCREEN_NAME %} + {{ form.username }} + {{ form.username.errors }}
{{ form.email.label_tag() }}:{{ form.email }} {{ form.email.errors }}
{{ form.email.help_text }}
{{ form.realname.label_tag() }}:{{ form.realname }} {{ form.realname.errors }}
{{ form.website.label_tag() }}:{{ form.website }} {{ form.website.errors }}
{{ form.city.label_tag() }}:{{ form.city }} {{ form.city.errors }}
{{ form.birthday.label_tag() }}:{{ form.birthday }} {{ form.birthday.errors }}
{{ form.birthday.help_text }}
+
{{ form.about.label_tag() }}:{{ form.about }} {{ form.about.errors }}
+
+   + +
+
+
+
+{% endblock %} +{% block endjs %} + + {% block userjs %} + {% endblock %} +{% endblock %} + -- cgit v1.2.3-1-g7c22