aboutsummarybugs & patchesrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVosjedev <vosje@vosjedev.net>2026-01-22 14:02:06 +0100
committerVosjedev <vosje@vosjedev.net>2026-01-22 14:02:06 +0100
commit5bbc8f8455dad0064a20a4af30d3d52d4575ecc7 (patch)
tree4989a9249f7fd9f08b39f70252ea373648c8647c
parent2cc173748fc94956b9072fc0a6e1d30edf2aed66 (diff)
downloadcgit-vosjedev.net.tar.gz
cgit-vosjedev.net.tar.bz2
cgit-vosjedev.net.tar.xz
ui-shared: link bugs.vosjedev.net for bugs & patchesHEADvosjedev.net
-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,