From c3f39210d8451d65f3ecaa88046380f42dc536a1 Mon Sep 17 00:00:00 2001 From: r Date: Mon, 9 Nov 2020 12:10:29 +0000 Subject: Add fluoridated reply to popup --- renderer/model.go | 5 +++++ renderer/renderer.go | 1 + 2 files changed, 6 insertions(+) (limited to 'renderer') diff --git a/renderer/model.go b/renderer/model.go index 0e5204a..0505c0b 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -63,6 +63,11 @@ type ThreadData struct { ReplyMap map[string][]mastodon.ReplyInfo } +type StatusData struct { + *CommonData + Status *mastodon.Status +} + type NotificationData struct { *CommonData Notifications []*mastodon.Notification diff --git a/renderer/renderer.go b/renderer/renderer.go index 3d4685f..724178e 100644 --- a/renderer/renderer.go +++ b/renderer/renderer.go @@ -20,6 +20,7 @@ const ( RootPage = "root.tmpl" TimelinePage = "timeline.tmpl" ThreadPage = "thread.tmpl" + StatusPopup = "status.tmpl" NotificationPage = "notification.tmpl" UserPage = "user.tmpl" UserSearchPage = "usersearch.tmpl" -- cgit v1.2.3