feat(users/Profpatsch/whatcd-resolver): add format to table

Change-Id: I6ca18ad9f73a8e75e4bfb77156d19604ab27b284
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12331
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
Profpatsch 2024-08-24 14:15:43 +02:00
parent 95640e7be4
commit 861b7caa06
2 changed files with 15 additions and 5 deletions

View file

@ -630,6 +630,7 @@ mkBestTorrentsTable fresh = do
</td>
<td>{Html.toHtml @Natural b.torrentGroupJson.groupYear}</td>
<td>{Html.toHtml @Int b.seedingWeight}</td>
<td>{Html.toHtml @Text b.torrentFormat}</td>
<td><details hx-trigger="toggle once" hx-post="snips/redacted/torrentDataJson" hx-vals={Enc.encToBytesUtf8 $ Enc.object [("torrent-id", Enc.int b.torrentId)]}></details></td>
</tr>
|]
@ -644,8 +645,8 @@ mkBestTorrentsTable fresh = do
<th>Name</th>
<th>Year</th>
<th>Weight</th>
<th>Format</th>
<th>Torrent</th>
<th>Torrent Group</th>
</tr>
</thead>
<tbody>