diff options
Diffstat (limited to 'ui-shared.c')
-rw-r--r-- | ui-shared.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index 6fae72d..82c6ca3 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -330,10 +330,23 @@ static void reporevlink(const char *page, const char *name, const char *title, html("</a>"); } +void cgit_reporevlink(const char *page, const char *name, const char *title, + const char *class, const char *head, const char *rev, + const char *path) +{ + reporevlink(page, name, title, class, head, rev, path); +} + +void cgit_about_link(const char *name, const char *title, const char *class, + const char *head) +{ + reporevlink("about", name, title, class, head, NULL, NULL); +} + void cgit_summary_link(const char *name, const char *title, const char *class, const char *head) { - reporevlink(NULL, name, title, class, head, NULL, NULL); + reporevlink("summary", name, title, class, head, NULL, NULL); } void cgit_tag_link(const char *name, const char *title, const char *class, |