|
diff --git a/ui-tree.c b/ui-tree.c index 94aff8f..0ee38f2 100644 --- a/ ui-tree.c+++ b/ ui-tree.c |
|
@@ -170,16 +170,18 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen, |
170 | htmlf("</td><td class='ls-size'>%li</td>", size); |
170 | htmlf("</td><td class='ls-size'>%li</td>", size); |
171 | |
171 | |
172 | html("<td>"); |
172 | html("<td>"); |
173 | cgit_log_link("log", NULL, "button", ctx.qry.head, curr_rev, |
173 | cgit_log_link("log", NULL, "button", ctx.qry.head, curr_rev, |
174 | fullpath, 0, NULL, NULL, ctx.qry.showmsg); |
174 | fullpath, 0, NULL, NULL, ctx.qry.showmsg); |
175 | if (ctx.repo->max_stats) |
175 | if (ctx.repo->max_stats) |
176 | cgit_stats_link("stats", NULL, "button", ctx.qry.head, |
176 | cgit_stats_link("stats", NULL, "button", ctx.qry.head, |
177 | fullpath); |
177 | fullpath); |
| |
178 | cgit_plain_link("plain", NULL, "button", ctx.qry.head, curr_rev, |
| |
179 | fullpath); |
178 | html("</td></tr>\n"); |
180 | html("</td></tr>\n"); |
179 | free(name); |
181 | free(name); |
180 | return 0; |
182 | return 0; |
181 | } |
183 | } |
182 | |
184 | |
183 | static void ls_head() |
185 | static void ls_head() |
184 | { |
186 | { |
185 | html("<table summary='tree listing' class='list'>\n"); |
187 | html("<table summary='tree listing' class='list'>\n"); |
|