diff options
| author | 2024-10-19 17:56:17 +0200 | |
|---|---|---|
| committer | 2024-10-19 17:56:17 +0200 | |
| commit | cb3bb90dfcdb8af5edbb1648e8506346588d6ec6 (patch) | |
| tree | b431516d005c32229545883f3d5dc9e8e8284ccc /html.c | |
| parent | Tweaked HTML for the notifications page. (diff) | |
| download | snac2-cb3bb90dfcdb8af5edbb1648e8506346588d6ec6.tar.gz snac2-cb3bb90dfcdb8af5edbb1648e8506346588d6ec6.tar.xz snac2-cb3bb90dfcdb8af5edbb1648e8506346588d6ec6.zip | |
Tweaked HTML for the timeline pages.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -2259,13 +2259,6 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only, | |||
| 2259 | } | 2259 | } |
| 2260 | } | 2260 | } |
| 2261 | 2261 | ||
| 2262 | if (title) { | ||
| 2263 | xs_html_add(body, | ||
| 2264 | xs_html_tag("h2", | ||
| 2265 | xs_html_attr("class", "snac-header"), | ||
| 2266 | xs_html_text(title))); | ||
| 2267 | } | ||
| 2268 | |||
| 2269 | xs_html_add(body, | 2262 | xs_html_add(body, |
| 2270 | xs_html_tag("a", | 2263 | xs_html_tag("a", |
| 2271 | xs_html_attr("name", "snac-posts"))); | 2264 | xs_html_attr("name", "snac-posts"))); |
| @@ -2273,6 +2266,13 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only, | |||
| 2273 | xs_html *posts = xs_html_tag("div", | 2266 | xs_html *posts = xs_html_tag("div", |
| 2274 | xs_html_attr("class", "snac-posts")); | 2267 | xs_html_attr("class", "snac-posts")); |
| 2275 | 2268 | ||
| 2269 | if (title) { | ||
| 2270 | xs_html_add(posts, | ||
| 2271 | xs_html_tag("h2", | ||
| 2272 | xs_html_attr("class", "snac-header"), | ||
| 2273 | xs_html_text(title))); | ||
| 2274 | } | ||
| 2275 | |||
| 2276 | xs_html_add(body, | 2276 | xs_html_add(body, |
| 2277 | posts); | 2277 | posts); |
| 2278 | 2278 | ||