X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/566f92b27618f67f59cc3642e17d9cb9c12634fa..837d464af77d76a2661d92e05167657cbf430d80:/ui-tree.c
diff --git a/ui-tree.c b/ui-tree.c
index 9a837e2..e27e796 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -35,10 +35,10 @@ static void print_object(const unsigned char *sha1, char *path)
return;
}
- html(" blob: %s",sha1_to_hex(sha1));
+ html(" (");
+ cgit_plain_link("plain", NULL, NULL, ctx.qry.head,
+ curr_rev, path);
+ htmlf(")
blob: %s", sha1_to_hex(sha1));
html("
| "); cgit_log_link("log", NULL, "button", ctx.qry.head, curr_rev, fullpath, 0, NULL, NULL); + if (ctx.repo->max_stats) + cgit_stats_link("stats", NULL, "button", ctx.qry.head, + fullpath); html(" | \n"); free(name); return 0;