Block/mute pages

FossilOrigin-Name: ec353fe9ca9604483bdd6f7afc891ba3402b6c0f9b2a2d0b2c844c92ed670709
This commit is contained in:
nekobit 2022-06-12 05:11:45 +00:00
parent 8ee07faf50
commit d3bf48a1ed
3 changed files with 8 additions and 2 deletions

View file

@ -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 = {

4
static/block_page.tmpl Normal file
View file

@ -0,0 +1,4 @@
<div class="simple-page">
<h1><a href="{{ %s : back_ref }}" class="page-back-btn">&lt;</a> {{ %s : blocks_str }}</h1>
</div>
{{%s : blocks}}

4
static/mute_page.tmpl Normal file
View file

@ -0,0 +1,4 @@
<div class="simple-page">
<h1><a href="{{ %s : back_ref }}" class="page-back-btn">&lt;</a> {{ %s : mutes_str }}</h1>
</div>
{{%s : mutes}}