aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-11-09 12:10:29 +0000
committerr <r@freesoftwareextremist.com>2020-11-09 12:10:29 +0000
commitc3f39210d8451d65f3ecaa88046380f42dc536a1 (patch)
treed43280e9c56ecebd8270722bcf043a19b1cd757d /renderer
parent3a3a8672ba3c9c6fd6905e2273c72b4ab36db552 (diff)
downloadbloat-c3f39210d8451d65f3ecaa88046380f42dc536a1.tar.gz
bloat-c3f39210d8451d65f3ecaa88046380f42dc536a1.zip
Add fluoridated reply to popup
Diffstat (limited to 'renderer')
-rw-r--r--renderer/model.go5
-rw-r--r--renderer/renderer.go1
2 files changed, 6 insertions, 0 deletions
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"