Add fluoridated reply to popup

This commit is contained in:
r 2020-11-09 12:10:29 +00:00
parent 3a3a8672ba
commit c3f39210d8
8 changed files with 128 additions and 8 deletions

View file

@ -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

View file

@ -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"