Added full_name and prettified the page
authorNishanth Amuluru <nishanth@fossee.in>
Sat, 08 Jan 2011 01:52:55 +0530
changeset 304 37adf6656f48
parent 303 41fcf2273003
child 305 d18086013eac
Added full_name and prettified the page
templates/profile/browse_notifications.html
templates/profile/view.html
--- a/templates/profile/browse_notifications.html	Sat Jan 08 01:52:17 2011 +0530
+++ b/templates/profile/browse_notifications.html	Sat Jan 08 01:52:55 2011 +0530
@@ -3,7 +3,7 @@
 {% if not notifications %}
 You have no notifications.
 {% else %}
-Notifications for you: <br />
+Notifications: <br />
 {% for notification in notifications %}
 <a href="/profile/notf/view/nid={{notification.uniq_key}}">
 {% if not notification.is_read %} <b> {% endif %}
--- a/templates/profile/view.html	Sat Jan 08 01:52:17 2011 +0530
+++ b/templates/profile/view.html	Sat Jan 08 01:52:55 2011 +0530
@@ -1,9 +1,10 @@
 {% extends 'base.html' %}
 {% block content %}
-username: {{user.username}} <br />
-gender: {{profile.gender}} <br />
+Name: {{profile.full_name}} <br />
+Username: {{user.username}} <br />
+Gender: {{profile.gender}} <br />
 About Me: {{profile.aboutme}} <br />
-address: {{profile.address}} <br />
-phone number: {{profile.phonenum}} <br />
+Address: {{profile.address}} <br />
+Phone Number: {{profile.phonenum}} <br />
 <a href="/profile/edit">Edit profile</a>
 {% endblock %}