diff options
| -rw-r--r-- | html.c | 18 |
1 files changed, 9 insertions, 9 deletions
| @@ -2576,15 +2576,6 @@ xs_html *html_people_list(snac *snac, xs_list *list, char *header, char *t, cons | |||
| 2576 | html_button("limit", L("Limit"), | 2576 | html_button("limit", L("Limit"), |
| 2577 | L("Block announces (boosts) from this user"))); | 2577 | L("Block announces (boosts) from this user"))); |
| 2578 | } | 2578 | } |
| 2579 | else | ||
| 2580 | if (pending_check(snac, actor_id)) { | ||
| 2581 | xs_html_add(form, | ||
| 2582 | html_button("approve", L("Approve"), | ||
| 2583 | L("Approve this follow request"))); | ||
| 2584 | |||
| 2585 | xs_html_add(form, | ||
| 2586 | html_button("discard", L("Discard"), L("Discard this follow request"))); | ||
| 2587 | } | ||
| 2588 | else { | 2579 | else { |
| 2589 | xs_html_add(form, | 2580 | xs_html_add(form, |
| 2590 | html_button("follow", L("Follow"), | 2581 | html_button("follow", L("Follow"), |
| @@ -2595,6 +2586,15 @@ xs_html *html_people_list(snac *snac, xs_list *list, char *header, char *t, cons | |||
| 2595 | html_button("delete", L("Delete"), L("Delete this user"))); | 2586 | html_button("delete", L("Delete"), L("Delete this user"))); |
| 2596 | } | 2587 | } |
| 2597 | 2588 | ||
| 2589 | if (pending_check(snac, actor_id)) { | ||
| 2590 | xs_html_add(form, | ||
| 2591 | html_button("approve", L("Approve"), | ||
| 2592 | L("Approve this follow request"))); | ||
| 2593 | |||
| 2594 | xs_html_add(form, | ||
| 2595 | html_button("discard", L("Discard"), L("Discard this follow request"))); | ||
| 2596 | } | ||
| 2597 | |||
| 2598 | if (is_muted(snac, actor_id)) | 2598 | if (is_muted(snac, actor_id)) |
| 2599 | xs_html_add(form, | 2599 | xs_html_add(form, |
| 2600 | html_button("unmute", L("Unmute"), | 2600 | html_button("unmute", L("Unmute"), |