forked from rDrama/rDrama
1
0
Fork 0

comsetic change to /h/holes

master
Aevann1 2022-08-19 23:53:45 +02:00
parent 4774931b78
commit 43602c4075
1 changed files with 4 additions and 7 deletions

View File

@ -17,14 +17,11 @@
</thead>
{% for sub, count in subs %}
{% if sub.name in v.all_blocks %}
{% set blocked = True %}
{% endif %}
<tr {% if blocked %}data-bs-toggle="tooltip" data-bs-placement="bottom" title="Hidden from main feed"{% endif %}>
<td {% if blocked %}class="text-danger"{% endif %}>{{loop.index}}</td>
<td><a href="/h/{{sub.name}}" {% if blocked %}class="text-danger"{% endif %}>{{sub.name}}</a></td>
<td><a href="/h/{{sub.name}}" {% if blocked %}class="text-danger"{% endif %}>{{count}}</a></td>
<tr>
<td>{{loop.index}}</td>
<td><a href="/h/{{sub.name}}">{{sub.name}} {% if sub.name in v.all_blocks %}[hidden from your main feed, visit it to unhide it]{% endif %}</a></td>
<td><a href="/h/{{sub.name}}" >{{count}}</a></td>
</tr>
{% endfor %}
</table>