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