|
diff --git a/ui-log.c b/ui-log.c index c3757dd..3202848 100644 --- a/ ui-log.c+++ b/ ui-log.c |
|
@@ -162,13 +162,14 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern |
162 | html("<table class='list nowrap'>"); |
162 | html("<table class='list nowrap'>"); |
163 | |
163 | |
164 | html("<tr class='nohover'><th class='left'>Age</th>" |
164 | html("<tr class='nohover'><th class='left'>Age</th>" |
165 | "<th class='left'>Commit message"); |
165 | "<th class='left'>Commit message"); |
166 | if (pager) { |
166 | if (pager) { |
167 | html(" ("); |
167 | html(" ("); |
168 | cgit_log_link("toggle", NULL, NULL, ctx.qry.head, ctx.qry.sha1, |
168 | cgit_log_link(ctx.qry.showmsg ? "Collapse" : "Expand", NULL, |
| |
169 | NULL, ctx.qry.head, ctx.qry.sha1, |
169 | ctx.qry.path, ctx.qry.ofs, ctx.qry.grep, |
170 | ctx.qry.path, ctx.qry.ofs, ctx.qry.grep, |
170 | ctx.qry.search, ctx.qry.showmsg ? 0 : 1); |
171 | ctx.qry.search, ctx.qry.showmsg ? 0 : 1); |
171 | html(")"); |
172 | html(")"); |
172 | } |
173 | } |
173 | html("</th><th class='left'>Author</th>"); |
174 | html("</th><th class='left'>Author</th>"); |
174 | if (ctx.repo->enable_log_filecount) { |
175 | if (ctx.repo->enable_log_filecount) { |
|