diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -2072,14 +2072,17 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only, | |||
| 2072 | xs_html_add(body, lol); | 2072 | xs_html_add(body, lol); |
| 2073 | 2073 | ||
| 2074 | while (xs_list_next(lists, &v, &ct)) { | 2074 | while (xs_list_next(lists, &v, &ct)) { |
| 2075 | const char *lname = xs_list_get(v, 1); | ||
| 2075 | xs *url = xs_fmt("%s/list/%s", user->actor, xs_list_get(v, 0)); | 2076 | xs *url = xs_fmt("%s/list/%s", user->actor, xs_list_get(v, 0)); |
| 2077 | xs *ttl = xs_fmt(L("Timeline for list '%s'"), lname); | ||
| 2076 | 2078 | ||
| 2077 | xs_html_add(lol, | 2079 | xs_html_add(lol, |
| 2078 | xs_html_tag("li", | 2080 | xs_html_tag("li", |
| 2079 | xs_html_tag("a", | 2081 | xs_html_tag("a", |
| 2080 | xs_html_attr("href", url), | 2082 | xs_html_attr("href", url), |
| 2081 | xs_html_attr("class", "snac-list-link"), | 2083 | xs_html_attr("class", "snac-list-link"), |
| 2082 | xs_html_text(xs_list_get(v, 1))))); | 2084 | xs_html_attr("title", ttl), |
| 2085 | xs_html_text(lname)))); | ||
| 2083 | } | 2086 | } |
| 2084 | } | 2087 | } |
| 2085 | } | 2088 | } |