From 23c17d8ff01b96619bc1f71274cb44f1425e10f4 Mon Sep 17 00:00:00 2001 From: John Keeping Date: Fri, 14 Aug 2015 12:47:15 +0100 Subject: log: move layout into page function Signed-off-by: John Keeping --- ui-log.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ui-log.c') diff --git a/ui-log.c b/ui-log.c index 6bff948..0782478 100644 --- a/ui-log.c +++ b/ui-log.c @@ -442,8 +442,10 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern compile_grep_patterns(&rev.grep_filter); prepare_revision_walk(&rev); - if (pager) + if (pager) { + cgit_print_layout_start(); html(""); + } html(""); if (commit_graph) @@ -526,6 +528,7 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern html(""); } html(""); + cgit_print_layout_end(); } else if ((commit = get_revision(&rev)) != NULL) { htmlf("
", columns); cgit_log_link("[...]", NULL, NULL, ctx.qry.head, NULL, -- cgit v1.2.3-70-g09d2