diff options
author | Nishanth Amuluru | 2011-01-08 01:52:55 +0530 |
---|---|---|
committer | Nishanth Amuluru | 2011-01-08 01:52:55 +0530 |
commit | 522607fd55f5312e324a1b40456cc609d3e3dd8f (patch) | |
tree | 37e5973757d1e78fd5b057b16c764ab351c1f593 | |
parent | 9ee499994d1506975f844f03bda3413dd9a70496 (diff) | |
download | pytask-522607fd55f5312e324a1b40456cc609d3e3dd8f.tar.gz pytask-522607fd55f5312e324a1b40456cc609d3e3dd8f.tar.bz2 pytask-522607fd55f5312e324a1b40456cc609d3e3dd8f.zip |
Added full_name and prettified the page
-rw-r--r-- | templates/profile/browse_notifications.html | 2 | ||||
-rw-r--r-- | 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: <br /> +Notifications: <br /> {% for notification in notifications %} <a href="/profile/notf/view/nid={{notification.uniq_key}}"> {% if not notification.is_read %} <b> {% 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}} <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 %} |