mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Moved "Closed" poll string to where it belongs.
This commit is contained in:
parent
32f31e490b
commit
27218d06d8
6
html.c
6
html.c
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user