Skip to content

Commit 99c8313

Browse files
committed
feat: thread reverse mapping
1 parent abf7639 commit 99c8313

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/jte/pages/LogEntryView.jte

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import com.github.khakers.modmailviewer.auth.UserToken
2+
@import com.github.khakers.modmailviewer.util.QueryParamUtil
23
@import com.github.khakers.modmailviewer.data.MessageType
34
@import com.github.khakers.modmailviewer.util.DiscordUtils
45
@import io.javalin.http.Context
@@ -47,12 +48,17 @@
4748
@endif
4849
<span>Created by:</span>
4950
@template.macros.username(user = modmailLog.getCreator())
51+
<a class="badge rounded-pill text-bg-warning fs-6 "
52+
up-target=".content" up-follow
53+
up-transition="cross-fade"
54+
href="/?userId=${modmailLog.getCreator().id()}">
55+
User's other threads
56+
</a>
5057
<span>on <span class="text-muted text-nowrap"
5158
data-timestamp="${modmailLog.getCreationTime().toString()}"
5259
data-timestamp-type="detailed"></span></span>
5360
·
5461
<span>${modmailLog.getMessages().size()} messages</span>
55-
5662
</div>
5763
</div>
5864
</div>

0 commit comments

Comments
 (0)