Application: Show profile instead of submitter username.
This commit is contained in:
parent
af240bb788
commit
cea2992ca0
@ -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>
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user