mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
Show 'Nothing found for tag' message.
This commit is contained in:
parent
8ebad8d536
commit
bd4511e7c5
1 changed files with 2 additions and 1 deletions
3
html.c
3
html.c
|
@ -2631,7 +2631,8 @@ int html_get_handler(const xs_dict *req, const char *q_path,
|
||||||
}
|
}
|
||||||
|
|
||||||
xs *page = xs_fmt("/admin?q=%%23%s", q + 1);
|
xs *page = xs_fmt("/admin?q=%%23%s", q + 1);
|
||||||
xs *title = xs_fmt(L("Search results for tag %s"), q);
|
xs *title = xs_fmt(xs_list_len(tl) ?
|
||||||
|
L("Search results for tag %s") : L("Nothing found for tag %s"), q);
|
||||||
|
|
||||||
*body = html_timeline(&snac, tl, 0, skip, show, more, title, page, 0);
|
*body = html_timeline(&snac, tl, 0, skip, show, more, title, page, 0);
|
||||||
*b_size = strlen(*body);
|
*b_size = strlen(*body);
|
||||||
|
|
Loading…
Reference in a new issue