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:
Kevin Chung
2021-02-11 01:11:50 -05:00
committed by GitHub
parent 213c6641d5
commit abdc366bb7
3 changed files with 2 additions and 3 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -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>