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
1 changed files with 5 additions and 4 deletions

View File

@ -13,8 +13,8 @@
{% endif %}
<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 }}
<span clear="all"></span>
{{ 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 %}