implemented "prune attachment" on post

This commit is contained in:
2026-02-21 15:36:48 -07:00
parent 94593d3637
commit f80f63a142
7 changed files with 105 additions and 2 deletions
+4
View File
@@ -138,6 +138,10 @@
{{ if canNuke }}
<a href="{{ topicListLink }}/op/{{ topicNum }}/nuke/{{ p.Num }}"
class="bg-red-600 hover:bg-red-700 text-white px-3 py-2 rounded text-sm font-medium transition-colors whitespace-nowrap">Nuke</a>
{{ if post_attach.Filename != "" }}
<a href="{{ topicListLink }}/op/{{ topicNum }}/prune/{{ p.Num }}"
class="bg-red-600 hover:bg-red-700 text-white px-3 py-2 rounded text-sm font-medium transition-colors whitespace-nowrap">Prune Attach</a>
{{ end }}
{{ end }}
{{ if canMove }}
<a href="{{ topicListLink }}/op/{{ topicNum }}/move/{{ p.Num }}"