From 522607fd55f5312e324a1b40456cc609d3e3dd8f Mon Sep 17 00:00:00 2001 From: Nishanth Amuluru Date: Sat, 8 Jan 2011 01:52:55 +0530 Subject: Added full_name and prettified the page --- templates/profile/browse_notifications.html | 2 +- templates/profile/view.html | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/templates/profile/browse_notifications.html b/templates/profile/browse_notifications.html index cc93126..9496887 100644 --- a/templates/profile/browse_notifications.html +++ b/templates/profile/browse_notifications.html @@ -3,7 +3,7 @@ {% if not notifications %} You have no notifications. {% else %} -Notifications for you:
+Notifications:
{% for notification in notifications %} {% if not notification.is_read %} {% endif %} diff --git a/templates/profile/view.html b/templates/profile/view.html index 277a4a1..501de2e 100644 --- a/templates/profile/view.html +++ b/templates/profile/view.html @@ -1,9 +1,10 @@ {% extends 'base.html' %} {% block content %} -username: {{user.username}}
-gender: {{profile.gender}}
+Name: {{profile.full_name}}
+Username: {{user.username}}
+Gender: {{profile.gender}}
About Me: {{profile.aboutme}}
-address: {{profile.address}}
-phone number: {{profile.phonenum}}
+Address: {{profile.address}}
+Phone Number: {{profile.phonenum}}
Edit profile {% endblock %} -- cgit