aboutsummaryrefslogtreecommitdiff
path: root/static/ncatalog.html
diff options
context:
space:
mode:
authorFChannel <>2021-06-03 02:00:15 -0700
committerFChannel <>2021-06-03 02:00:15 -0700
commitca748944398e0ebbc0f27446d5e41bd5e4aa3852 (patch)
treee590ab2f9c53846f1aa02638c4da6ed9b0cd28f2 /static/ncatalog.html
parent9d937e6f895ca7213ae759efca9b292a1d014ab3 (diff)
deleteing objects and cache objects put into single db commands
Diffstat (limited to 'static/ncatalog.html')
-rw-r--r--static/ncatalog.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/ncatalog.html b/static/ncatalog.html
index a399d13..43fd6fd 100644
--- a/static/ncatalog.html
+++ b/static/ncatalog.html
@@ -16,11 +16,11 @@
{{ range .Posts }}
<div style="overflow: hidden; vertical-align: top; padding-right: 24px; padding-bottom: 24px; display: inline-block; width: 180px; max-height: 320px; margin-bottom: 10px;">
{{ if eq $board.ModCred $board.Domain $board.Actor.Id }}
- <a href="/delete?id={{ .Id }}">[Delete Post]</a>
+ <a href="/delete?id={{ .Id }}&board={{ $board.Actor.Name }}">[Delete Post]</a>
{{ end }}
{{ if .Attachment }}
{{ if eq $board.ModCred $board.Domain $board.Actor.Id }}
- <a href="/deleteattach?id={{ .Id }}">[Delete Attachment]</a>
+ <a href="/deleteattach?id={{ .Id }}&board={{ $board.Actor.Name }}">[Delete Attachment]</a>
{{ end }}
<a id="{{ .Id }}-anchor" href="/{{ $board.Name }}/">
<div id="media-{{ .Id }}" style="width:180px;"></div>