From d532c4d1612c94347427fa1afda6afb7c34e512a Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 01 Sep 2008 20:40:55 +0000 Subject: Merge branch 'lh/plain' * lh/plain: Supply status description to html_status() ui-tree: link to plain view instead of blob view Implement plain view --- (limited to 'ui-tree.c') diff --git a/ui-tree.c b/ui-tree.c index 9a837e2..79332fc 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("\n"); idx = 0; -- cgit v0.9.0.2