1
0
Derivar 0

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>
Este cometimento está contido em:
Lars Hjemli 2010-02-28 22:18:00 +01:00
ascendente c151ce61d8
cometimento ff3a3b4e2b
1 ficheiros modificados com 2 adições e 0 eliminações

Ver ficheiro

@ -175,6 +175,8 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen,
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;