diff options
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, | |||
| 939 | } | 939 | } |
| 940 | 940 | ||
| 941 | c = xs_str_cat(c, "</table>\n"); | 941 | c = xs_str_cat(c, "</table>\n"); |
| 942 | |||
| 943 | /* if it's *really* closed, say it */ | ||
| 944 | if (!xs_is_null(xs_dict_get(msg, "closed"))) { | ||
| 945 | xs *s1 = xs_fmt("<p>%s</p>\n", L("Closed")); | ||
| 946 | c = xs_str_cat(c, s1); | ||
| 947 | } | ||
| 942 | } | 948 | } |
| 943 | else { | 949 | else { |
| 944 | /* poll still active */ | 950 | /* poll still active */ |