Show table head also in vhosts page

This commit is contained in:
Badlop 2021-05-21 12:29:18 +02:00
parent f2b3151f0b
commit 4be0998c6e
1 changed files with 3 additions and 3 deletions

View File

@ -1509,9 +1509,9 @@ web_page_host(_, Host, #request{path=[<<"statsdx">> | Filter], q = Q,
Res = [?XC(<<"h1">>, <<(translate:translate(Lang, ?T("Statistics")))/binary, " Dx">>),
?XC(<<"h2">>, list_to_binary("Sessions with: "++io_lib:format("~p", [Filter]))),
?XAE(<<"table">>, [],
[?XE(<<"tbody">>,
do_sessions_table(global, Lang, Filter, Sort_query, Host)
)
[
?XE(<<"thead">>, [?XE(<<"tr">>, make_sessions_table_tr(Lang) )]),
?XE(<<"tbody">>, do_sessions_table(global, Lang, Filter, Sort_query, Host))
])
],
{stop, Res};