mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 14:25:15 +00:00
refs: move layout to page function
Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
23c17d8ff0
commit
6d39dd1914
@@ -236,7 +236,7 @@ void cgit_print_tags(int maxcount)
|
||||
|
||||
void cgit_print_refs(void)
|
||||
{
|
||||
|
||||
cgit_print_layout_start();
|
||||
html("<table class='list nowrap'>");
|
||||
|
||||
if (ctx.qry.path && starts_with(ctx.qry.path, "heads"))
|
||||
@@ -249,4 +249,5 @@ void cgit_print_refs(void)
|
||||
cgit_print_tags(0);
|
||||
}
|
||||
html("</table>");
|
||||
cgit_print_layout_end();
|
||||
}
|
||||
|
Reference in New Issue
Block a user