implemented "prune attachment" on post
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user