refs: move layout to page function Signed-off-by: John Keeping <john@keeping.me.uk>
John Keeping john@keeping.me.uk
Fri, 14 Aug 2015 12:47:16 +0100
M
ui-refs.c
→
ui-refs.c
@@ -236,7 +236,7 @@ }
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 @@ html("<tr class='nohover'><td colspan='5'> </td></tr>");
cgit_print_tags(0); } html("</table>"); + cgit_print_layout_end(); }