diff options
author | default <nobody@localhost> | 2023-07-24 20:51:24 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-07-24 20:51:24 +0200 |
commit | 2ee74c9a6a33414d03004f4576ad5fece28239a1 (patch) | |
tree | d8c9ca5e3273472d66a34ac1ed4c08bb4e39016c /html.c | |
parent | 4af95579dcdd8b6cb35f72a47f35c820f3d9d388 (diff) |
Added a 'Back to top' link at the end of the page.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1425,8 +1425,12 @@ xs_str *html_timeline(snac *snac, const xs_list *list, int local, int skip, int if (show_more) { xs *s1 = xs_fmt( "<p>" + "<a href=\"%s%s\" name=\"snac-more\">%s</a> - " "<a href=\"%s%s?skip=%d&show=%d\" name=\"snac-more\">%s</a>" - "</p>\n", snac->actor, local ? "" : "/admin", skip + show, show, L("Load more...")); + "</p>\n", + snac->actor, local ? "" : "/admin", L("Back to top"), + snac->actor, local ? "" : "/admin", skip + show, show, L("Older entries...") + ); s = xs_str_cat(s, s1); } |