aboutsummaryrefslogtreecommitdiff
path: root/views/catalog.html
diff options
context:
space:
mode:
authorFChannel <>2022-06-18 13:57:30 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit25829d2d0e379c323b8f2ae6e7c2aad7548f0a30 (patch)
treec828eb5bb04ce04141c717c26b637a59b32ab979 /views/catalog.html
parentf3d1683d6562afb30522afb98fb3a22456473275 (diff)
sticky and lock implemented
Diffstat (limited to 'views/catalog.html')
-rw-r--r--views/catalog.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/catalog.html b/views/catalog.html
index f19c489..4bd48aa 100644
--- a/views/catalog.html
+++ b/views/catalog.html
@@ -30,7 +30,7 @@
</div>
</div>
<a id="{{ .Id }}-anchor" href="/{{ $board.Name }}/{{ shortURL $board.Actor.Outbox .Id}}">
- <div id="media-{{ .Id }}" style="width:180px;"> {{ parseAttachment . true }}</div>
+ <div id="media-{{ .Id }}" style="width:180px;"><div id="status" style="position: absolute;">{{ if .Sticky }}<span id="sticky"><img src="/static/pin.png"></span>{{ end }}{{ if .Locked }}<span id="lock"><img src="/static/locked.png"></span>{{ end }}</div>{{ parseAttachment . true }}</div>
</a>
<script>
media = document.getElementById("media-{{ .Id }}")