summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/html.c b/html.c
index ca14d45..0b13602 100644
--- a/html.c
+++ b/html.c
@@ -1367,8 +1367,11 @@ xs_html *html_entry_controls(snac *snac, const char *actor,
1367 L("Block any activity from this user forever"))); 1367 L("Block any activity from this user forever")));
1368 } 1368 }
1369 1369
1370 if (!xs_is_true(xs_dict_get(srv_config, "hide_delete_post_button")))
1371 xs_html_add(form,
1372 html_button("delete", L("Delete"), L("Delete this post")));
1373
1370 xs_html_add(form, 1374 xs_html_add(form,
1371 html_button("delete", L("Delete"), L("Delete this post")),
1372 html_button("hide", L("Hide"), L("Hide this post and its children"))); 1375 html_button("hide", L("Hide"), L("Hide this post and its children")));
1373 1376
1374 const char *prev_src = xs_dict_get(msg, "sourceContent"); 1377 const char *prev_src = xs_dict_get(msg, "sourceContent");