Application: Show profile instead of submitter username.

This commit is contained in:
Emanuel Schuetze 2011-09-21 21:26:44 +02:00
parent af240bb788
commit cea2992ca0
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
</p>
<p><b>{% trans "Submitter" %}:</b><br>
{{ item.application.submitter }}</p>
{{ item.application.submitter.profile }}</p>
{% with item.application.poll_set.all as polls %}
{% if polls|length > 0 and polls.0.has_vote %}
<p><b>{% trans "Poll result" %}:</b></p>

View File

@ -50,7 +50,7 @@
{% if not forloop.last %}<br>{%endif%}
{% endfor %}
</td>
<td>{{ application.submitter }}</td>
<td>{{ application.submitter.profile }}</td>
<td>{{ application.creation_time }}</td>
</tr>
{% empty %}