# HG changeset patch # User Madhusudan.C.S # Date 1296856492 -19800 # Node ID 96e8e65a3738b005b5225a45617bec38bd1cc7a2 # Parent fd3e6f5f01bdfe67223beb4f32f31c2854cfae97 Display Pynts on task/textbook description page. Also make some style fixes. diff -r fd3e6f5f01bd -r 96e8e65a3738 pytask/templates/task/view_textbook.html --- a/pytask/templates/task/view_textbook.html Fri Feb 04 16:38:21 2011 +0530 +++ b/pytask/templates/task/view_textbook.html Sat Feb 05 03:24:52 2011 +0530 @@ -16,15 +16,15 @@ {% if can_edit %} Edit Text book {% endif %} - + {% if can_approve %} Approve Text book {% endif %}
- + Pynts: {{ textbook.pynts }}
{% if textbook.tags.count %} - Tags: {% as_tags textbook.tags %}
+ Tags: {% as_tags textbook.tags %}
{% endif %}

diff -r fd3e6f5f01bd -r 96e8e65a3738 pytask/templates/templatetags/_as_tags.html --- a/pytask/templates/templatetags/_as_tags.html Fri Feb 04 16:38:21 2011 +0530 +++ b/pytask/templates/templatetags/_as_tags.html Sat Feb 05 03:24:52 2011 +0530 @@ -1,5 +1,3 @@ -
- {% for tag in tags %} - {{ tag }}{% if not forloop.last %},{% endif %} - {% endfor %} -
\ No newline at end of file +{% for tag in tags %} + {{ tag }}{% if not forloop.last %},{% endif %} +{% endfor %}