From c27b4d7ed02cdabac00c3ddedb8201b74f745ec6 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 25 Feb 2023 13:16:30 +0100 Subject: [feature] Client API endpoints + v. basic web view for pinned posts (#1547) * implement status pin client api + web handler * make test names + comments more descriptive * don't use separate table for status pins * remove unused add + remove checking * tidy up + add some more tests --- web/template/profile.tmpl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'web/template') diff --git a/web/template/profile.tmpl b/web/template/profile.tmpl index d584676a6..f567998a4 100644 --- a/web/template/profile.tmpl +++ b/web/template/profile.tmpl @@ -53,6 +53,18 @@ + {{ if .pinned_statuses }} +

+ Pinned toots +

+
+ {{ range .pinned_statuses }} +
+ {{ template "status.tmpl" .}} +
+ {{ end }} +
+ {{ end }}

Latest public toots {{ if .rssFeed }} -- cgit v1.3