2022-11-27 00:20:54 +00:00
|
|
|
{% extends "default.html" %}
|
2023-02-06 03:23:15 +00:00
|
|
|
{% block pagetitle %}@{{u.username}}'s Profile Views{% endblock %}
|
2022-11-27 00:20:54 +00:00
|
|
|
|
2023-10-29 12:51:00 +00:00
|
|
|
{% block content %}
|
|
|
|
<h5 class="pt-4 pl-2 pb-3">Users who viewed @{{u.username}}'s profile</h5>
|
|
|
|
<div class="overflow-x-auto">
|
|
|
|
<table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th class="disable-sort-click">Last visit</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for view in views %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
{% with user=view.viewer %}
|
|
|
|
{% include "user_in_table.html" %}
|
|
|
|
{% endwith %}
|
|
|
|
</td>
|
|
|
|
<td>{{view.last_view_string}}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-11-27 00:20:54 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block pagenav %}
|
2023-10-29 12:51:00 +00:00
|
|
|
{% include "pagination.html" %}
|
2022-11-27 00:20:54 +00:00
|
|
|
{% endblock %}
|