Show full profile name of supmitter and supports.

This commit is contained in:
Emanuel Schuetze 2011-09-05 20:05:23 +02:00
parent 35c0b50940
commit 9275acf029

View File

@ -14,7 +14,7 @@
<a href="{% url print_application application.id %}"><img src="/static/images/icons/application-pdf.png" title="{% trans 'Print Application' %}"></a>
</h4>
<span clear="all"></span>
{{ application.submitter }}
{{ application.submitter.profile }}
{% if user == application.submitter %}
<img src="/static/images/icons/user-information.png" title="{% trans 'You!' %}">
{% endif %}
@ -24,10 +24,11 @@
{% if application.supporter.count == 0 %}
-
{% else %}
<ol>
{% for supporter in application.supporter.all %}
{{ forloop.counter }}. {{supporter }}
{% if not forloop.last %}<br>{% endif %}
<li> {{ supporter.profile }}</li>
{% endfor %}
</ol>
{% endif %}
{% endif %}