diff options
Diffstat (limited to 'renderer')
-rw-r--r-- | renderer/model.go | 5 | ||||
-rw-r--r-- | renderer/renderer.go | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/renderer/model.go b/renderer/model.go index e7cfbfb..726cee9 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -89,6 +89,11 @@ type QuickReplyData struct { PostContext model.PostContext } +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 7afeb14..50fced7 100644 --- a/renderer/renderer.go +++ b/renderer/renderer.go @@ -23,6 +23,7 @@ const ( ListPage = "list.tmpl" ThreadPage = "thread.tmpl" QuickReplyPage = "quickreply.tmpl" + StatusPopup = "status.tmpl" NotificationPage = "notification.tmpl" UserPage = "user.tmpl" UserSearchPage = "usersearch.tmpl" |