about summary refs log tree commit diff
path: root/ui-refs.c
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-08-14 12:47:16 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-08-14 15:46:51 +0200
commit6d39dd1914dd0a904c606b079e8ef0f1643f2266 (patch)
tree330c405fc861ae96584c9281ef95d4be20cfd872 /ui-refs.c
parentlog: move layout into page function (diff)
downloadcgit-magenta-6d39dd1914dd0a904c606b079e8ef0f1643f2266.tar.xz
refs: move layout to page function
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-refs.c')
-rw-r--r--ui-refs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-refs.c b/ui-refs.c

index 73a187b..be3572c 100644 --- a/ui-refs.c +++ b/ui-refs.c
@@ -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(); }