diff options
author | John Keeping | 2015-08-14 12:47:16 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2015-08-14 15:46:51 +0200 |
commit | 6d39dd1914dd0a904c606b079e8ef0f1643f2266 (patch) | |
tree | 330c405fc861ae96584c9281ef95d4be20cfd872 /ui-refs.c | |
parent | 23c17d8ff01b96619bc1f71274cb44f1425e10f4 (diff) | |
download | cgit-6d39dd1914dd0a904c606b079e8ef0f1643f2266.tar.gz cgit-6d39dd1914dd0a904c606b079e8ef0f1643f2266.tar.bz2 cgit-6d39dd1914dd0a904c606b079e8ef0f1643f2266.zip |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 | } |