mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Add more detail to the search results view
This commit is contained in:
@@ -4,12 +4,21 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
|
<div class="page-header">
|
||||||
|
<h1>Search Results</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p>More than one user was found matching your criteria:</p>
|
<p>More than one user was found matching your criteria:</p>
|
||||||
|
|
||||||
<ul>
|
<table>
|
||||||
{% for user in users %}
|
<thead>
|
||||||
<li><a href="{% url sso-viewuser user.username %}">{{ user.username }}</a></li>
|
<tr><th>User</th><th>Primary Character</th><th>Corp</th><th>Alliance</th></tr>
|
||||||
{% endfor %}
|
<thead>
|
||||||
</ul>
|
<tbody>
|
||||||
|
{% for user in users %}
|
||||||
|
<tr><td><a href="{% url sso-viewuser user.username %}">{{ user.username }}</td>{% if user.get_profile.primary_character %}<td>{{ user.get_profile.primary_character }}</td><td>{{ user.get_profile.primary_character.corporation }}</td><td>{{ user.get_profile.primary_character.corporation.alliance }}</td>{% else %}<td></td><td></td><td></td>{% endif %}</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user