templates/list_toppers.html
author nishanth
Fri, 02 Jul 2010 14:12:25 +0530
changeset 87 e81b105b1128
parent 70 911a24ae80d6
permissions -rw-r--r--
found easier way to get things done. so removed all the junk code.

{% extends 'base.html' %}
{% block content %}
{% if sorted_quizzes %}
List of toppers for {{quiz_name}} of {{event.title}}<br />
<br />
<table cellspacing="5" cellpadding="3">
	<tr align="center">
			<td> Name </td>
			<td> Profession </td>
			<td> Score </td>
	</tr>
	{% for quiz in sorted_quizzes %}
	<tr align="center">
			<td><a href="/quiz/user_dump/{{admin_key}}/{{quiz.key}}/{{quiz.user.username}}">{{quiz.user.get_full_name}}</a></td>
			<td>{{quiz.user.get_profile.profession}}</td>
			<td>{{quiz.score}}</td>
	</tr>
        {% endfor %}
{% else %}
No user has taken {{quiz_name}} yet.
{% endif %}
{% endblock %}