<commit_before>@(active: String)(implicit ctx: Context)

@if(isGranted(_.SeeReport)) {
<a class="@active.active("report")" href="@routes.Report.list">Reports</a>
}
@if(isGranted(_.SeeReport)) {
<a class="@active.active("gamify")" href="@routes.Mod.gamify">Hall of fame</a>
}
@if(isGranted(_.UserSearch)) {
<a class="@active.active("search")" href="@routes.Mod.search">Search users</a>
}
@if(isGranted(_.StreamConfig)) {
<a class="@active.active("stream")" href="@routes.Tv.streamConfig">Streams</a>
}
@if(isGranted(_.SeeReport)) {
<a class="@active.active("log")" href="@routes.Mod.log">Mod log</a>
}
@if(isGranted(_.StaffForum)) {
<a class="@active.active("forum")" href="@routes.ForumCateg.show("staff")">Staff Forum</a>
}<commit_msg>Link to tournament manager for mods from mod menu<commit_after>@(active: String)(implicit ctx: Context)

@if(isGranted(_.SeeReport)) {
<a class="@active.active("report")" href="@routes.Report.list">Reports</a>
}
@if(isGranted(_.SeeReport)) {
<a class="@active.active("gamify")" href="@routes.Mod.gamify">Hall of fame</a>
}
@if(isGranted(_.UserSearch)) {
<a class="@active.active("search")" href="@routes.Mod.search">Search users</a>
}
@if(isGranted(_.StreamConfig)) {
<a class="@active.active("stream")" href="@routes.Tv.streamConfig">Streams</a>
}
@if(isGranted(_.ManageTournament)) {
<a class="@active.active("index")" href="@routes.TournamentCrud.index">Recent tournaments</a>
}
@if(isGranted(_.SeeReport)) {
<a class="@active.active("log")" href="@routes.Mod.log">Mod log</a>
}
@if(isGranted(_.StaffForum)) {
<a class="@active.active("forum")" href="@routes.ForumCateg.show("staff")">Staff Forum</a>
}
{'fraction_non_alphanumeric': 0.238878732480195, 'fraction_numerical': 0.0, 'mean_word_length': 8.602339181286549, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4485683', 'n_tokens_mistral': 654, 'n_tokens_neox': 616, 'n_words': 79}