mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-10-31 18:57:16 +00: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,
|
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 nextLink, prevLink, title string
|
||||||
var statuses []*mastodon.Status
|
var statuses []*mastodon.Status
|
||||||
|
@ -209,6 +209,13 @@ func (s *service) TimelinePage(c *client, tType, instance, listId, maxID,
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
title = "The Whole Known Network"
|
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":
|
case "list":
|
||||||
statuses, err = c.GetTimelineList(c.ctx, listId, &pg)
|
statuses, err = c.GetTimelineList(c.ctx, listId, &pg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -163,7 +163,8 @@ func NewHandler(s *service, logger *log.Logger, staticDir string) http.Handler {
|
||||||
list := q.Get("list")
|
list := q.Get("list")
|
||||||
maxID := q.Get("max_id")
|
maxID := q.Get("max_id")
|
||||||
minID := q.Get("min_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)
|
}, SESSION, HTML)
|
||||||
|
|
||||||
defaultTimelinePage := handle(func(c *client) error {
|
defaultTimelinePage := handle(func(c *client) error {
|
||||||
|
|
|
@ -202,6 +202,10 @@ textarea {
|
||||||
opacity: unset;
|
opacity: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notification-container.update .status-container {
|
||||||
|
opacity: unset;
|
||||||
|
}
|
||||||
|
|
||||||
.notification-info-text span {
|
.notification-info-text span {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue