diff options
| author | 2025-12-09 13:38:56 +0100 | |
|---|---|---|
| committer | 2025-12-09 13:38:56 +0100 | |
| commit | 481c0315ef7ccd2eaf0ec9c6eaa17cbbd7efeb2c (patch) | |
| tree | 48b71e21c3a400de869378584a9fe38cbd7be62a /html.c | |
| parent | New query variable terse=anything. (diff) | |
| download | snac2-481c0315ef7ccd2eaf0ec9c6eaa17cbbd7efeb2c.tar.gz snac2-481c0315ef7ccd2eaf0ec9c6eaa17cbbd7efeb2c.tar.xz snac2-481c0315ef7ccd2eaf0ec9c6eaa17cbbd7efeb2c.zip | |
If terse is set, history is also hidden.
Diffstat (limited to '')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -3248,7 +3248,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only, | |||
| 3248 | 3248 | ||
| 3249 | if (list && user && read_only) { | 3249 | if (list && user && read_only) { |
| 3250 | /** history **/ | 3250 | /** history **/ |
| 3251 | if (xs_type(xs_dict_get(srv_config, "disable_history")) != XSTYPE_TRUE) { | 3251 | if (xs_type(xs_dict_get(srv_config, "disable_history")) != XSTYPE_TRUE && !terse) { |
| 3252 | xs_html *ul = xs_html_tag("ul", NULL); | 3252 | xs_html *ul = xs_html_tag("ul", NULL); |
| 3253 | 3253 | ||
| 3254 | xs_html *history = xs_html_tag("div", | 3254 | xs_html *history = xs_html_tag("div", |