ui-tree: add link to plain view for blobs in tree listing Suggested-by: Robert Weidlich <mail@robertweidlich.de> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli hjemli@gmail.com
Sun, 28 Feb 2010 22:18:00 +0100
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
ui-tree.c
→
ui-tree.c
@@ -175,6 +175,8 @@ fullpath, 0, NULL, NULL, ctx.qry.showmsg);
if (ctx.repo->max_stats) cgit_stats_link("stats", NULL, "button", ctx.qry.head, fullpath); + cgit_plain_link("plain", NULL, "button", ctx.qry.head, curr_rev, + fullpath); html("</td></tr>\n"); free(name); return 0;