summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2025-01-28 10:04:23 +0100
committerGravatar default2025-01-28 10:04:23 +0100
commit06ba1174ca7084a3d691aa8c2b552b708d04b8db (patch)
treeff6339aef8e543f3aec34a0b259f34c581ee0262 /html.c
parentAdded some default styling to CSS class snac-no-more-unseen-posts. (diff)
downloadpenes-snac2-06ba1174ca7084a3d691aa8c2b552b708d04b8db.tar.gz
penes-snac2-06ba1174ca7084a3d691aa8c2b552b708d04b8db.tar.xz
penes-snac2-06ba1174ca7084a3d691aa8c2b552b708d04b8db.zip
Some tweaks to the already seen mark code.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index c27ab99..8f8b524 100644
--- a/html.c
+++ b/html.c
@@ -2657,7 +2657,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
2657 /* "already seen" mark? */ 2657 /* "already seen" mark? */
2658 if (strcmp(v, MD5_ALREADY_SEEN_MARK) == 0) { 2658 if (strcmp(v, MD5_ALREADY_SEEN_MARK) == 0) {
2659 if (skip == 0 && !mark_shown) { 2659 if (skip == 0 && !mark_shown) {
2660 xs *s = xs_fmt("%s/admin#top", user->actor); 2660 xs *s = xs_fmt("%s/admin", user->actor);
2661 2661
2662 xs_html_add(posts, 2662 xs_html_add(posts,
2663 xs_html_tag("div", 2663 xs_html_tag("div",
@@ -2665,7 +2665,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
2665 xs_html_text(L("No more unseen posts")), 2665 xs_html_text(L("No more unseen posts")),
2666 xs_html_text(" - "), 2666 xs_html_text(" - "),
2667 xs_html_tag("a", 2667 xs_html_tag("a",
2668 xs_html_attr("href", s), 2668 xs_html_attr("href", s),
2669 xs_html_text(L("Back to top"))))); 2669 xs_html_text(L("Back to top")))));
2670 } 2670 }
2671 2671