diff options
author | FChannel <> | 2021-06-03 02:00:15 -0700 |
---|---|---|
committer | FChannel <> | 2021-06-03 02:00:15 -0700 |
commit | ca748944398e0ebbc0f27446d5e41bd5e4aa3852 (patch) | |
tree | e590ab2f9c53846f1aa02638c4da6ed9b0cd28f2 /static | |
parent | 9d937e6f895ca7213ae759efca9b292a1d014ab3 (diff) |
deleteing objects and cache objects put into single db commands
Diffstat (limited to 'static')
l--------- | static/.#ncatalog.html | 1 | ||||
-rw-r--r-- | static/ncatalog.html | 4 |
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> |