Fix templates to show recommendations

This commit is contained in:
2010-10-18 12:18:37 +01:00
parent 81c1f6dc5c
commit a3cbc5063c

View File

@@ -62,10 +62,10 @@
</table> </table>
{% endif %} {% endif %}
{% if recs %} {% if app.recommendation_set.all %}
<h3>Recommendations</h3> <h3>Recommendations</h3>
<ul> <ul>
{% for rec in recs %} {% for rec in app.recommendation_set.all %}
<li><a href="{% url sso.views.user_view rec.user %}">{{ rec.user }}</a> / {{ rec.user_character }} - {{ rec.user_character.corporation }}</li> <li><a href="{% url sso.views.user_view rec.user %}">{{ rec.user }}</a> / {{ rec.user_character }} - {{ rec.user_character.corporation }}</li>
{% endfor %} {% endfor %}
</ul> </ul>