mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-21 20:29:20 +02:00
Added hiden tag timeline; css style fix for edit status notification
This commit is contained in:
parent
e83dbe7ca9
commit
0cd239b8aa
|
@ -164,7 +164,7 @@ func (s *service) NavPage(c *client) (err error) {
|
|||
}
|
||||
|
||||
func (s *service) TimelinePage(c *client, tType, instance, listId, maxID,
|
||||
minID string) (err error) {
|
||||
minID string, tag string) (err error) {
|
||||
|
||||
var nextLink, prevLink, title string
|
||||
var statuses []*mastodon.Status
|
||||
|
@ -209,6 +209,13 @@ func (s *service) TimelinePage(c *client, tType, instance, listId, maxID,
|
|||
return err
|
||||
}
|
||||
title = "The Whole Known Network"
|
||||
case "tag":
|
||||
statuses, err = c.GetTimelineHashtag(c.ctx, tag, false, &pg)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
title = "Tag timeline"
|
||||
|
||||
case "list":
|
||||
statuses, err = c.GetTimelineList(c.ctx, listId, &pg)
|
||||
if err != nil {
|
||||
|
|
|
@ -163,7 +163,8 @@ func NewHandler(s *service, logger *log.Logger, staticDir string) http.Handler {
|
|||
list := q.Get("list")
|
||||
maxID := q.Get("max_id")
|
||||
minID := q.Get("min_id")
|
||||
return s.TimelinePage(c, tType, instance, list, maxID, minID)
|
||||
tag := q.Get("tag")
|
||||
return s.TimelinePage(c, tType, instance, list, maxID, minID, tag)
|
||||
}, SESSION, HTML)
|
||||
|
||||
defaultTimelinePage := handle(func(c *client) error {
|
||||
|
|
|
@ -202,6 +202,10 @@ textarea {
|
|||
opacity: unset;
|
||||
}
|
||||
|
||||
.notification-container.update .status-container {
|
||||
opacity: unset;
|
||||
}
|
||||
|
||||
.notification-info-text span {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue