diff options
author | default <nobody@localhost> | 2023-05-30 06:35:29 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-05-30 06:35:29 +0200 |
commit | 27218d06d841863586add24930ff6fc3f94d9aed (patch) | |
tree | 70f14113e3bab195a58819d102c45bb83d82b6d6 /html.c | |
parent | 32f31e490b028ee6e9d9c4fc8706bba31e11aa88 (diff) |
Moved "Closed" poll string to where it belongs.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -939,6 +939,12 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local, } c = xs_str_cat(c, "</table>\n"); + + /* if it's *really* closed, say it */ + if (!xs_is_null(xs_dict_get(msg, "closed"))) { + xs *s1 = xs_fmt("<p>%s</p>\n", L("Closed")); + c = xs_str_cat(c, s1); + } } else { /* poll still active */ |