Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2018-12-29 02:13:54 +0300
committerChristian Hesse <mail@eworm.de>2024-08-17 00:29:06 +0300
commit45771f24a93437ed76ce6c203793f44f47a4be18 (patch)
tree3ee59bccbd932b245968d8fbeb45d17953f52616 /ui-shared.c
parent1b63a1f4c4b3a4c59210f39eca3e960844f2770c (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 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)
{