| author | nishanth |
| Tue, 06 Jul 2010 23:31:33 +0530 | |
| changeset 89 | f8e25dea5222 |
| parent 70 | 911a24ae80d6 |
| permissions | -rw-r--r-- |
| 41 | 1 |
{% extends 'base.html' %}
|
2 |
{% block content %}
|
|
|
70
911a24ae80d6
now list of toppers can be seen only if atleast one user has taken the quiz.
nishanth
parents:
42
diff
changeset
|
3 |
{% if sorted_quizzes %}
|
| 41 | 4 |
List of toppers for {{quiz_name}} of {{event.title}}<br />
|
5 |
<br /> |
|
6 |
<table cellspacing="5" cellpadding="3"> |
|
7 |
<tr align="center"> |
|
8 |
<td> Name </td> |
|
9 |
<td> Profession </td> |
|
10 |
<td> Score </td> |
|
11 |
</tr> |
|
12 |
{% for quiz in sorted_quizzes %}
|
|
13 |
<tr align="center"> |
|
|
42
007d87112911
created a user_dump page that shows all the answers entered by user at one place
nishanth
parents:
41
diff
changeset
|
14 |
<td><a href="/quiz/user_dump/{{admin_key}}/{{quiz.key}}/{{quiz.user.username}}">{{quiz.user.get_full_name}}</a></td>
|
| 41 | 15 |
<td>{{quiz.user.get_profile.profession}}</td>
|
16 |
<td>{{quiz.score}}</td>
|
|
17 |
</tr> |
|
|
70
911a24ae80d6
now list of toppers can be seen only if atleast one user has taken the quiz.
nishanth
parents:
42
diff
changeset
|
18 |
{% endfor %}
|
|
911a24ae80d6
now list of toppers can be seen only if atleast one user has taken the quiz.
nishanth
parents:
42
diff
changeset
|
19 |
{% else %}
|
|
911a24ae80d6
now list of toppers can be seen only if atleast one user has taken the quiz.
nishanth
parents:
42
diff
changeset
|
20 |
No user has taken {{quiz_name}} yet.
|
|
911a24ae80d6
now list of toppers can be seen only if atleast one user has taken the quiz.
nishanth
parents:
42
diff
changeset
|
21 |
{% endif %}
|
| 41 | 22 |
{% endblock %}
|