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>
This commit is contained in:
Christian Hesse 2018-12-29 00:13:54 +01:00
parent 707746ce09
commit 42bee9ae69
3 changed files with 12 additions and 0 deletions

View file

@ -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)
{