diff options
author | Madhusudan.C.S | 2011-02-09 00:30:28 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2011-02-09 00:30:28 +0530 |
commit | b06d4f0297726ecb8e98467ad99aa99fd56ea61a (patch) | |
tree | 5b777091957b51e514a3f139886a1b243fe68475 | |
parent | fbccebb008075dab981cc338f42e86d9457438c5 (diff) | |
download | pytask-b06d4f0297726ecb8e98467ad99aa99fd56ea61a.tar.gz pytask-b06d4f0297726ecb8e98467ad99aa99fd56ea61a.tar.bz2 pytask-b06d4f0297726ecb8e98467ad99aa99fd56ea61a.zip |
Use profile instead of viewing_profile as the context variable.
Also make some style fixes.
-rw-r--r-- | pytask/templates/profile/view_user.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pytask/templates/profile/view_user.html b/pytask/templates/profile/view_user.html index 976cd4d..27260c9 100644 --- a/pytask/templates/profile/view_user.html +++ b/pytask/templates/profile/view_user.html @@ -9,28 +9,28 @@ Gender: {{ profile.gender }} <br /> About: {{ profile.aboutme|linebreaksbr }} <br /> {% if comp_tasks %} -Tasks completed by {{viewing_profile.full_name}}: +Tasks completed by {{ profile.full_name }}: <ul> {% for task in comp_tasks %} - <li><a href="{% url view_task task.id %}">{{task.title}}</a></li> + <li><a href="{% url view_task task.id %}">{{ task.title }}</a></li> {% endfor %} </ul> {% endif %} {% if working_tasks %} -Tasks {{viewing_profile.full_name}} is currently working on: +Tasks {{ profile.full_name }} is currently working on: <ul> {% for task in working_tasks %} - <li><a href="{% url view_task task.id %}">{{task.title}}</a></li> + <li><a href="{% url view_task task.id %}">{{ task.title }}</a></li> {% endfor %} </ul> {% endif %} {% if reviewing_tasks %} -Tasks reviewed by {{viewing_profile.full_name}}: +Tasks reviewed by {{ profile.full_name }}: <ul> {% for task in reviewing_tasks %} - <li><a href="{% url view_task task.id %}">{{task.title}}</a></li> + <li><a href="{% url view_task task.id %}">{{ task.title }}</a></li> {% endfor %} </ul> {% endif %} @@ -38,7 +38,7 @@ Tasks reviewed by {{viewing_profile.full_name}}: {% if claimed_tasks and can_view_info %} <ul> {% for task in claimed_tasks %} - <li><a href="{% url view_task task.id %}">{{task.title}}</a></li> + <li><a href="{% url view_task task.id %}">{{ task.title }}</a></li> {% endfor %} </ul> {% endif %} |