mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Don't list item_link on neither trackers nor main patch download page.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
{% if room.last_port %}
|
||||
You can connect to this room by using '/connect {{ config['PATCH_TARGET'] }}:{{ room.last_port }}'
|
||||
in the <a href="{{ url_for("tutorial_landing")}}">client</a>.<br>{% endif %}
|
||||
{{ macros.list_patches_room(room) }}
|
||||
{{ macros.list_patches_room(room, groups) }}
|
||||
{% if room.owner == session["_id"] %}
|
||||
<form method=post>
|
||||
<div class="form-group">
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user