all repos — cgit @ 837d464af77d76a2661d92e05167657cbf430d80

a hyperfast web frontend for git written in c

ui-tree: add link to stats page per path

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli hjemli@gmail.com
Sun, 07 Dec 2008 13:34:42 +0100
commit

837d464af77d76a2661d92e05167657cbf430d80

parent

eaf2d25c162534efe7566119cf4b1cbeab217b51

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M ui-tree.cui-tree.c

@@ -107,6 +107,9 @@

html("<td>"); cgit_log_link("log", NULL, "button", ctx.qry.head, curr_rev, fullpath, 0, NULL, NULL); + if (ctx.repo->max_stats) + cgit_stats_link("stats", NULL, "button", ctx.qry.head, + fullpath); html("</td></tr>\n"); free(name); return 0;