MarseyWorld/files/templates/viewers.html

24 lines
495 B
HTML

{% extends "default.html" %}
{% block content %}
<h5 class="pt-4 pl-2 my-1">Users who viewed your 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>Last visit</th>
</tr>
</thead>
{% for view in viewers %}
<tr>
<td>
{% with user=view.viewer %}
{% include "user_in_table.html" %}
{% endwith %}
</td>
<td>{{view.last_view_string}}</td>
</tr>
{% endfor %}
</table>
{% endblock %}