aboutsummarybugs & patchesrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c
index bb9d817..a632b26 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -336,6 +336,13 @@ void cgit_summary_link(const char *name, const char *title, const char *class,
reporevlink(NULL, name, title, class, head, NULL, NULL);
}
+void cgit_acit_link()
+{
+ html("<a href='https://bugs.vosjedev.net/");
+ html_url_path(ctx.repo->url);
+ html("'>bugs & patches</a>");
+}
+
void cgit_tag_link(const char *name, const char *title, const char *class,
const char *tag)
{
@@ -1094,6 +1101,7 @@ void cgit_print_pageheader(void)
NULL);
cgit_summary_link("summary", NULL, hc("summary"),
ctx.qry.head);
+ cgit_acit_link();
cgit_refs_link("refs", NULL, hc("refs"), ctx.qry.head,
ctx.qry.oid, NULL);
cgit_log_link("log", NULL, hc("log"), ctx.qry.head,