From a9452894322859dc75e6f383282c32802c81bdf0 Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Wed, 21 Jul 2010 03:26:01 +0530 Subject: Added Registration summary to the Account page. --- project/templates/user/account.html | 198 +++++++++++++++++++++--------------- 1 file changed, 115 insertions(+), 83 deletions(-) diff --git a/project/templates/user/account.html b/project/templates/user/account.html index c839817..7c3e87b 100644 --- a/project/templates/user/account.html +++ b/project/templates/user/account.html @@ -6,99 +6,131 @@

My Profile: {{ user.first_name }} {{user.last_name}}

- - - - - - - + + + + + + - - - - - - - - - - - - - - + {% endif %} + + + + + + + + + + + + + + +
- Username: - - {{ user.username }} -
- Name: - - {% if user.first_name %} - {{ user.get_full_name }} - {% else %} +
Username:{{ user.username }}
Name: + {% if user.first_name %} + {{ user.get_full_name }} + {% else %} No name, please edit profile . - {% endif %} - -
- -
-
- Email: - - {{ user.email }} -
- Url: - - {{ profile.url }} -
- About: - - {{ profile.about }} -
+
+ +
+
Email:{{ user.email }}
Url: + {{ profile.url }} +
About:{{ profile.about }}
-{% if comment %} -{{ comment }} -{% endif %} {% if registration %} -
-

Your Registration

-

- Edit Registration -

-
+
+

My Registration Details

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{{ event.get_full_name }} ID:{{ registration.slug }}
Attending Conference:{% if registration.conference %}Yes{% else %}No{% endif %}
Attending Tutorials:{% if registration.tutorial %}Yes{% else %}No{% endif %}
Attending Sprints:{% if registration.sprint %}Yes{% else %}No{% endif %}
Organisation:{{ registration.organisation }}
Occupation:{{ registration.occupation }}
City:{{ registration.city }}
Post Code:{{ registration.postcode }}
Phone Number:{{ registration.phone_num }}
Allow Contact:{% if registration.allow_contact %}Yes{% else %}No{% endif %}
Registered On:{{ registration.submitted|date:"jS F Y H:i" }}
Last Modified On:{{ registration.last_mod|date:"jS F Y H:i" }}
+

+ Edit Registration +

+
{% endif %} + {% if talks %} -
-

Your Submitted Talks

- - - - - - -{% for talk in talks %} - - - - - - - -{% endfor %} -
TitleDurationAudienceTags 
{{ talk.title }}{{ talk.duration }}{{ talk.audience }}{{ talk.tags }} - {% if talk.approved %} - Accepted - {% else %} - Edit - {% endif %} -
-
+
+

My Submitted Talks

+ + + + + + + {% for talk in talks %} + + + + + + + + {% endfor %} +
TitleDurationAudienceTags 
{{ talk.title }}{{ talk.duration }}{{ talk.audience }}{{ talk.tags }} + {% if talk.approved %} + Accepted + {% else %} + Edit + {% endif %} +
+
{% endif %} {% endblock content %} -- cgit