mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Add recommendations to the profile view
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user