From d3bf48a1ed4822a594587a8075147479727a5bed Mon Sep 17 00:00:00 2001 From: nekobit Date: Sun, 12 Jun 2022 05:11:45 +0000 Subject: [PATCH] Block/mute pages FossilOrigin-Name: ec353fe9ca9604483bdd6f7afc891ba3402b6c0f9b2a2d0b2c844c92ed670709 --- src/account.c | 2 -- static/block_page.tmpl | 4 ++++ static/mute_page.tmpl | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 static/block_page.tmpl create mode 100644 static/mute_page.tmpl diff --git a/src/account.c b/src/account.c index e396acd..e443786 100644 --- a/src/account.c +++ b/src/account.c @@ -561,7 +561,6 @@ void content_account_scrobbles(struct session* ssn, mastodont_t* api, char** dat fetch_account_page(ssn, api, data[0], NULL, ACCT_TAB_SCROBBLES, account_scrobbles_cb); } - void content_account_pinned(struct session* ssn, mastodont_t* api, char** data) { struct mstdnt_account_statuses_args args = { @@ -581,7 +580,6 @@ void content_account_pinned(struct session* ssn, mastodont_t* api, char** data) fetch_account_page(ssn, api, data[0], &args, ACCT_TAB_PINNED, account_statuses_cb); } - void content_account_media(struct session* ssn, mastodont_t* api, char** data) { struct mstdnt_account_statuses_args args = { diff --git a/static/block_page.tmpl b/static/block_page.tmpl new file mode 100644 index 0000000..f782ca5 --- /dev/null +++ b/static/block_page.tmpl @@ -0,0 +1,4 @@ +
+

< {{ %s : blocks_str }}

+
+{{%s : blocks}} diff --git a/static/mute_page.tmpl b/static/mute_page.tmpl new file mode 100644 index 0000000..9b20c86 --- /dev/null +++ b/static/mute_page.tmpl @@ -0,0 +1,4 @@ +
+

< {{ %s : mutes_str }}

+
+{{%s : mutes}}