summary refs log tree commit diff
path: root/www/git.causal.agency/cgit
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2019-03-15 20:17:05 +0000
committerJune McEnroe <june@causal.agency>2021-01-17 20:03:45 +0000
commitc4fa4f98d3cc9eea01ffbf8db687a856f1b7a627 (patch)
tree39b5a330cde64e87b1f98d4830eca5c3657a2143 /www/git.causal.agency/cgit
parentImprove button spacing for browsers w/o CSS (diff)
downloadsrc-c4fa4f98d3cc9eea01ffbf8db687a856f1b7a627.tar.gz
src-c4fa4f98d3cc9eea01ffbf8db687a856f1b7a627.zip
Remove redundant title on repo anchors
The title attribute was being set to the same value as the anchor
element text.

Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Diffstat (limited to 'www/git.causal.agency/cgit')
-rw-r--r--www/git.causal.agency/cgit/ui-repolist.c2
-rw-r--r--www/git.causal.agency/cgit/ui-shared.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/git.causal.agency/cgit/ui-repolist.c b/www/git.causal.agency/cgit/ui-repolist.c
index 591929bb..97b11c5f 100644
--- a/www/git.causal.agency/cgit/ui-repolist.c
+++ b/www/git.causal.agency/cgit/ui-repolist.c
@@ -321,7 +321,7 @@ void cgit_print_repolist(void)
 		}
 		htmlf("<tr><td class='%s'>",
 		      !sorted && section ? "sublevel-repo" : "toplevel-repo");
-		cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL);
+		cgit_summary_link(ctx.repo->name, NULL, NULL, NULL);
 		html("</td><td>");
 		repourl = cgit_repourl(ctx.repo->url);
 		html_link_open(repourl, NULL, NULL);
diff --git a/www/git.causal.agency/cgit/ui-shared.c b/www/git.causal.agency/cgit/ui-shared.c
index 14882500..2bdec5da 100644
--- a/www/git.causal.agency/cgit/ui-shared.c
+++ b/www/git.causal.agency/cgit/ui-shared.c
@@ -1003,7 +1003,7 @@ static void print_header(void)
 	if (ctx.repo) {
 		cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1);
 		html(" : ");
-		cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL);
+		cgit_summary_link(ctx.repo->name, NULL, NULL, NULL);
 		if (ctx.env.authenticated) {
 			html("</td><td class='form'>");
 			html("<form method='get'>\n");