implemented hide/show message functionality

This commit is contained in:
2026-01-21 22:56:45 -07:00
parent 5c9d1463b1
commit 0ec8d832c3
3 changed files with 42 additions and 1 deletions
+1 -1
View File
@@ -118,7 +118,7 @@
{{ if advancedControls }}
<div class="flex flex-col gap-2">
{{ if canHide }}
<a href="/TODO"
<a href="{{ topicListLink }}/op/{{ topicNum }}/hide/{{ p.Num }}"
class="bg-blue-600 hover:bg-blue-700 text-white px-3 py-2 rounded text-sm font-medium transition-colors whitespace-nowrap">
{{ if isPostHidden }}Show{{ else }}Hide{{ end }}
</a>