Don't list item_link on neither trackers nor main patch download page.

This commit is contained in:
CaitSith2
2022-02-23 01:51:49 -08:00
parent 4c64c5ad05
commit 7708d3d157
4 changed files with 31 additions and 14 deletions

View File

@@ -6,7 +6,7 @@
{{ caller() }}
</ul>
{%- endmacro %}
{% macro list_patches_room(room) %}
{% macro list_patches_room(room, groups) %}
{% if room.seed.slots %}
<table>
<thead>
@@ -19,7 +19,7 @@
</tr>
</thead>
<tbody>
{% for patch in room.seed.slots|list|sort(attribute="player_id") %}
{% for patch in room.seed.slots|list|sort(attribute="player_id") if patch.player_id not in groups %}
<tr>
<td>{{ patch.player_id }}</td>
<td>{{ patch.player_name }}</td>