aboutsummaryrefslogtreecommitdiff
path: root/ui-shared.c
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2018-12-29 00:13:54 +0100
committerChristian Hesse <mail@eworm.de>2021-05-12 15:34:14 +0200
commit0b203a5cd09fb227316898ee40fa63f11e26be5b (patch)
tree12230e7a1d2cb709d5d2375cf2861c78a11f11fd /ui-shared.c
parenttests: t0107: support older and/or non-GNU tar (diff)
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 <mail@eworm.de>
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c
index acd8ab5..63de33e 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -346,6 +346,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)
{