diff options
| author | Christian Hesse <mail@eworm.de> | 2018-12-29 00:13:54 +0100 |
|---|---|---|
| committer | Christian Hesse <mail@eworm.de> | 2026-09-29 09:51:03 +0200 |
| commit | 8417286043559c4b5887f82f9db01c59967dd6a2 (patch) | |
| tree | da427785a9f3f76d4f3f42792f610ca78e09ab2f /ui-shared.c | |
| parent | dff5f35434b6e0c74511cced19bfc1cc8976f0e3 (diff) | |
| download | cgit-8417286043559c4b5887f82f9db01c59967dd6a2.tar.gz cgit-8417286043559c4b5887f82f9db01c59967dd6a2.tar.bz2 cgit-8417286043559c4b5887f82f9db01c59967dd6a2.zip | |
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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c index 44794d8..9e49a80 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) { |
