mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-01 04:14:25 +01:00
Fix scoreboard identifier to switch between User/Team depending on mode (#1800)
* Fix scoreboard table identifier to switch between User/Team depending on mode * Closes #1777
This commit is contained in:
@@ -151,7 +151,6 @@ def get_user_page_menu_bar():
|
||||
route = p.route
|
||||
else:
|
||||
route = url_for("views.static_html", route=p.route)
|
||||
print(route)
|
||||
pages.append(Menu(title=p.title, route=route))
|
||||
return pages
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
</div>
|
||||
</th>
|
||||
<th class="sort-col text-center"><b>Place</b></th>
|
||||
<th class="sort-col"><b>Team</b></th>
|
||||
<th class="sort-col"><b>{{ get_mode_as_word(capitalize=True) }}</b></th>
|
||||
<th class="sort-col"><b>Score</b></th>
|
||||
<th class="sort-col"><b>Visibility</b></th>
|
||||
</tr>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<td scope="col" width="10px"><b>Place</b></td>
|
||||
<td scope="col"><b>Team</b></td>
|
||||
<td scope="col"><b>{{ get_mode_as_word(capitalize=True) }}</b></td>
|
||||
<td scope="col"><b>Score</b></td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
Reference in New Issue
Block a user