summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2025-01-28 07:48:31 +0100
committerGravatar default2025-01-28 07:48:31 +0100
commitd9d2dedbc053b35aee02ba7f408e056ab03368c0 (patch)
tree8d2bdac498d1cf7582b6d05eb857461b4fc6c3e7
parentBackport from xs. (diff)
downloadpenes-snac2-d9d2dedbc053b35aee02ba7f408e056ab03368c0.tar.gz
penes-snac2-d9d2dedbc053b35aee02ba7f408e056ab03368c0.tar.xz
penes-snac2-d9d2dedbc053b35aee02ba7f408e056ab03368c0.zip
Set the CSS class snac-no-more-unseen-posts.
-rw-r--r--html.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/html.c b/html.c
index 771d2af..c27ab99 100644
--- a/html.c
+++ b/html.c
@@ -2660,12 +2660,13 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
2660 xs *s = xs_fmt("%s/admin#top", user->actor); 2660 xs *s = xs_fmt("%s/admin#top", user->actor);
2661 2661
2662 xs_html_add(posts, 2662 xs_html_add(posts,
2663 xs_html_text(L("No more unseen posts")), 2663 xs_html_tag("div",
2664 xs_html_text(" - "), 2664 xs_html_attr("class", "snac-no-more-unseen-posts"),
2665 xs_html_tag("a", 2665 xs_html_text(L("No more unseen posts")),
2666 xs_html_attr("href", s), 2666 xs_html_text(" - "),
2667 xs_html_text(L("Back to top"))), 2667 xs_html_tag("a",
2668 xs_html_sctag("hr", NULL)); 2668 xs_html_attr("href", s),
2669 xs_html_text(L("Back to top")))));
2669 } 2670 }
2670 2671
2671 mark_shown = 1; 2672 mark_shown = 1;