Add recommendations to the profile view

This commit is contained in:
2011-02-22 09:01:33 +00:00
parent 17966b7e52
commit e01fec735a

View File

@@ -41,6 +41,20 @@
</table> </table>
{% endif %} {% endif %}
{% if user.recommendation_set.all %}
<br />
<h2>Recommendations</h2>
<table>
<tr><th>Recommended Application</th><th>Recommendation Character</th><th>Recommendation Date</th></tr>
{% for rec in user.recommendation_set.all %}
<tr><td>
<tr><td><a href="{% url hr.views.view_application app.id %}">{{ rec.application.character.name }}</a></td>
<td>{{ rec.user_character }}</td>
<td>{{ rec.recommendation_date }}</td></tr>
{% endfor %}
</table>
{% endif %}
<br/> <br/>
<h2>Eve API Keys</h2> <h2>Eve API Keys</h2>
{% if user.eveaccount_set.all %} {% if user.eveaccount_set.all %}