aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
l---------static/.#ncatalog.html1
-rw-r--r--static/ncatalog.html4
2 files changed, 3 insertions, 2 deletions
diff --git a/static/.#ncatalog.html b/static/.#ncatalog.html
new file mode 120000
index 0000000..7e43052
--- /dev/null
+++ b/static/.#ncatalog.html
@@ -0,0 +1 @@
+namll@parabola.3055 \ No newline at end of file
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>