summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ui-tree.c3
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
@@ -102,16 +102,19 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen,
102 cgit_tree_link(name, NULL, "ls-blob", ctx.qry.head, 102 cgit_tree_link(name, NULL, "ls-blob", ctx.qry.head,
103 curr_rev, fullpath); 103 curr_rev, fullpath);
104 } 104 }
105 htmlf("</td><td class='ls-size'>%li</td>", size); 105 htmlf("</td><td class='ls-size'>%li</td>", size);
106 106
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;
113} 116}
114 117
115static void ls_head() 118static void ls_head()
116{ 119{
117 html("<table summary='tree listing' class='list'>\n"); 120 html("<table summary='tree listing' class='list'>\n");