Show full profile name of supmitter and supports.
This commit is contained in:
parent
35c0b50940
commit
9275acf029
@ -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 %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user