1 /* ui-refs.c: browse symbolic refs
3 * Copyright (C) 2006 Lars Hjemli
5 * Licensed under GNU General Public License v2
6 * (see COPYING for full license text)
12 void cgit_print_refs()
15 html("<table class='list nowrap'>");
17 if (ctx.qry.path && !strncmp(ctx.qry.path, "heads", 5))
18 cgit_print_branches(0);
19 else if (ctx.qry.path && !strncmp(ctx.qry.path, "tags", 4))
22 cgit_print_branches(0);
23 html("<tr class='nohover'><td colspan='4'> </td></tr>");