diff options
| author | 2025-01-28 07:48:31 +0100 | |
|---|---|---|
| committer | 2025-01-28 07:48:31 +0100 | |
| commit | d9d2dedbc053b35aee02ba7f408e056ab03368c0 (patch) | |
| tree | 8d2bdac498d1cf7582b6d05eb857461b4fc6c3e7 | |
| parent | Backport from xs. (diff) | |
| download | snac2-d9d2dedbc053b35aee02ba7f408e056ab03368c0.tar.gz snac2-d9d2dedbc053b35aee02ba7f408e056ab03368c0.tar.xz snac2-d9d2dedbc053b35aee02ba7f408e056ab03368c0.zip | |
Set the CSS class snac-no-more-unseen-posts.
| -rw-r--r-- | html.c | 13 |
1 files changed, 7 insertions, 6 deletions
| @@ -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; |