diff options
-rw-r--r-- | cmd.c | 2 | ||||
-rw-r--r-- | ui-refs.c | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -166,7 +166,7 @@ struct cgit_cmd *cgit_get_cmd(void) | |||
166 | def_cmd(patch, 1, 0, 1, 0), | 166 | def_cmd(patch, 1, 0, 1, 0), |
167 | def_cmd(plain, 1, 0, 0, 0), | 167 | def_cmd(plain, 1, 0, 0, 0), |
168 | def_cmd(rawdiff, 1, 0, 1, 0), | 168 | def_cmd(rawdiff, 1, 0, 1, 0), |
169 | def_cmd(refs, 1, 1, 0, 0), | 169 | def_cmd(refs, 1, 0, 0, 0), |
170 | def_cmd(repolist, 0, 0, 0, 0), | 170 | def_cmd(repolist, 0, 0, 0, 0), |
171 | def_cmd(snapshot, 1, 0, 0, 0), | 171 | def_cmd(snapshot, 1, 0, 0, 0), |
172 | def_cmd(stats, 1, 1, 1, 0), | 172 | def_cmd(stats, 1, 1, 1, 0), |
@@ -236,7 +236,7 @@ void cgit_print_tags(int maxcount) | |||
236 | 236 | ||
237 | void cgit_print_refs(void) | 237 | void cgit_print_refs(void) |
238 | { | 238 | { |
239 | 239 | cgit_print_layout_start(); | |
240 | html("<table class='list nowrap'>"); | 240 | html("<table class='list nowrap'>"); |
241 | 241 | ||
242 | if (ctx.qry.path && starts_with(ctx.qry.path, "heads")) | 242 | if (ctx.qry.path && starts_with(ctx.qry.path, "heads")) |
@@ -249,4 +249,5 @@ void cgit_print_refs(void) | |||
249 | cgit_print_tags(0); | 249 | cgit_print_tags(0); |
250 | } | 250 | } |
251 | html("</table>"); | 251 | html("</table>"); |
252 | cgit_print_layout_end(); | ||
252 | } | 253 | } |