2022-02-24 12:03:28 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<pre>
|
|
|
|
|
|
|
|
|
|
|
|
</pre>
|
2022-07-09 12:51:08 +00:00
|
|
|
<h5>{{HOLE_NAME|capitalize}} List</h5>
|
2022-02-24 12:03:28 +00:00
|
|
|
<pre></pre>
|
2022-03-06 00:21:13 +00:00
|
|
|
<div class="overflow-x-auto">
|
2022-06-27 02:47:49 +00:00
|
|
|
<table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>Name</th>
|
|
|
|
<th role="button" onclick="sort_table(2)">Posts</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2022-02-24 12:03:28 +00:00
|
|
|
|
2022-06-27 02:47:49 +00:00
|
|
|
{% for sub, count in subs %}
|
2022-08-19 21:49:23 +00:00
|
|
|
{% 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>
|
2022-06-27 02:47:49 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-07-09 08:35:47 +00:00
|
|
|
|
2022-07-14 16:20:09 +00:00
|
|
|
<script src="/assets/js/sort_table.js?v=244"></script>
|
2022-07-09 08:35:47 +00:00
|
|
|
|
2022-02-24 12:03:28 +00:00
|
|
|
{% endblock %}
|