Skip to content

Commit

Permalink
do not show user's bestname as its too inconsistent
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Dec 24, 2023
1 parent d0eebd6 commit 9c88bb9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/hub/main/resources/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,13 @@ <h2>Users</h2>
<table>
<thead><tr>
<th></th>
<th>Name</th>
<th>E-Mail</th>
<th>Hub Profile</th>
<th>Minecraft</th>
<th>Discord ID</th>
<th>E-Mail</th>
</tr></thead>
<tbody><tr th:each="user: ${userRepo}">
<td><a class="ui-button" th:href="@{'/user/view/'+${user.id}}">View</a></td>
<td th:text="${user.bestName}">Name</td>
<td th:text="${user.email}">E-Mail</td>
<td>
<span class="null-text" th:unless="${user.hubId != null}">Not linked</span>
<a th:if="${user.hubId != null}" th:href="'https://hub.comroid.org/hub/users/'+${user.hubId}" target="_blank">Hub</a>
Expand All @@ -63,6 +60,7 @@ <h2>Users</h2>
<span class="null-text" th:unless="${user.discordId != null}">Not linked</span>
<span th:if="${user.discordId != null}" th:text="${user.discordId}">Discord ID</span>
</td>
<td th:text="${user.email}">E-Mail</td>
</tr></tbody>
</table>
</div>
Expand Down

0 comments on commit 9c88bb9

Please sign in to comment.