forked from rDrama/rDrama
29 lines
668 B
HTML
29 lines
668 B
HTML
{% extends "default.html" %}
|
|
{% block pagetitle %}@{{u.username}}'s Profile Views{% endblock %}
|
|
{% 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>
|
|
|
|
{% endblock %}
|
|
|
|
{% block pagenav %}
|
|
{% include "pagination.html" %}
|
|
{% endblock %}
|