From 41b94dbf9ac070d2ab0d3224c478f1fc01abb8b7 Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Wed, 2 Jan 2019 09:20:40 +0100
Subject: [PATCH] ui-tree: add about link in tree view list

Signed-off-by: Christian Hesse <mail@eworm.de>
---
 ui-tree.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ui-tree.c b/ui-tree.c
index 45ab4e2..26f19be 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -272,6 +272,9 @@ static int ls_item(const struct object_id *oid, struct strbuf *base,
 	if (!S_ISGITLINK(mode))
 		cgit_plain_link("plain", NULL, "button", ctx.qry.head,
 				walk_tree_ctx->curr_rev, fullpath.buf);
+	if (!S_ISDIR(mode))
+		cgit_about_link("about", NULL, "button", ctx.qry.head,
+				walk_tree_ctx->curr_rev, fullpath.buf);
 	if (!S_ISDIR(mode) && ctx.repo->enable_blame)
 		cgit_blame_link("blame", NULL, "button", ctx.qry.head,
 				walk_tree_ctx->curr_rev, fullpath.buf);