diff options
Diffstat (limited to 'ui-log.c')
-rw-r--r-- | ui-log.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -442,8 +442,10 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern | |||
442 | compile_grep_patterns(&rev.grep_filter); | 442 | compile_grep_patterns(&rev.grep_filter); |
443 | prepare_revision_walk(&rev); | 443 | prepare_revision_walk(&rev); |
444 | 444 | ||
445 | if (pager) | 445 | if (pager) { |
446 | cgit_print_layout_start(); | ||
446 | html("<table class='list nowrap'>"); | 447 | html("<table class='list nowrap'>"); |
448 | } | ||
447 | 449 | ||
448 | html("<tr class='nohover'>"); | 450 | html("<tr class='nohover'>"); |
449 | if (commit_graph) | 451 | if (commit_graph) |
@@ -526,6 +528,7 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern | |||
526 | html("</li>"); | 528 | html("</li>"); |
527 | } | 529 | } |
528 | html("</ul>"); | 530 | html("</ul>"); |
531 | cgit_print_layout_end(); | ||
529 | } else if ((commit = get_revision(&rev)) != NULL) { | 532 | } else if ((commit = get_revision(&rev)) != NULL) { |
530 | htmlf("<tr class='nohover'><td colspan='%d'>", columns); | 533 | htmlf("<tr class='nohover'><td colspan='%d'>", columns); |
531 | cgit_log_link("[...]", NULL, NULL, ctx.qry.head, NULL, | 534 | cgit_log_link("[...]", NULL, NULL, ctx.qry.head, NULL, |