remove loop.index on stuff thats ordered by most recent (cuz confusing)

pull/23/head
Aevann 2022-11-27 03:42:28 +02:00
parent 1f4fc16d44
commit f1ea26797c
3 changed files with 0 additions and 6 deletions

View File

@ -5,7 +5,6 @@
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
<th>#</th>
<th>Name</th>
<td>Blocking since</td>
</tr>
@ -13,7 +12,6 @@
<tbody id="blockers-table">
{% for block, user in users %}
<tr>
<td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td>
<td {% if block.created_utc > 1599343262 %}data-time="{{block.created_utc}}"{% endif %}></td>
</tr>

View File

@ -5,7 +5,6 @@
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
<th>#</th>
<th>Name</th>
<td>Following since</td>
{% if v.id == u.id %}
@ -16,7 +15,6 @@
<tbody id="followers-table">
{% for follow, user in users %}
<tr>
<td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td>
<td {% if follow.created_utc > 1599343262 %}data-time="{{follow.created_utc}}"{% endif %}></td>
{% if v.id == u.id %}

View File

@ -5,7 +5,6 @@
<div class="overflow-x-auto"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
<th>#</th>
<th>Name</th>
{% if v.id == u.id %}
<th></th>
@ -15,7 +14,6 @@
<tbody id="followers-table">
{% for user in users %}
<tr>
<td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td>
{% if v.id == u.id %}
<td><div class="btn btn-danger" onclick="removeFollowing(this, '{{user.username}}')">Unfollow</div></td>