diff options
-rw-r--r-- | ui-tree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui-tree.c b/ui-tree.c index 79332fc..e27e796 100644 --- a/ui-tree.c +++ b/ui-tree.c | |||
@@ -107,6 +107,9 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen, | |||
107 | html("<td>"); | 107 | html("<td>"); |
108 | cgit_log_link("log", NULL, "button", ctx.qry.head, curr_rev, | 108 | cgit_log_link("log", NULL, "button", ctx.qry.head, curr_rev, |
109 | fullpath, 0, NULL, NULL); | 109 | fullpath, 0, NULL, NULL); |
110 | if (ctx.repo->max_stats) | ||
111 | cgit_stats_link("stats", NULL, "button", ctx.qry.head, | ||
112 | fullpath); | ||
110 | html("</td></tr>\n"); | 113 | html("</td></tr>\n"); |
111 | free(name); | 114 | free(name); |
112 | return 0; | 115 | return 0; |