From 45771f24a93437ed76ce6c203793f44f47a4be18 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sat, 29 Dec 2018 00:13:54 +0100 Subject: ui-tree: provide link to about page for pretty formatting We have an ongoing discussion about display filters and pretty formatting in tree view. How about providing a link to about page for pretty formatting? Signed-off-by: Christian Hesse --- ui-shared.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ui-shared.c') diff --git a/ui-shared.c b/ui-shared.c index 6fae72d..11a32a1 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -348,6 +348,12 @@ void cgit_tree_link(const char *name, const char *title, const char *class, reporevlink("tree", name, title, class, head, rev, path); } +void cgit_about_link(const char *name, const char *title, const char *class, + const char *head, const char *rev, const char *path) +{ + reporevlink("about", name, title, class, head, rev, path); +} + void cgit_plain_link(const char *name, const char *title, const char *class, const char *head, const char *rev, const char *path) { -- cgit v1.2.3