aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2019-03-15 20:17:05 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2022-12-19 16:13:24 +0100
commitafffc3e772a7b0c9d729f330ef2c9900c4343b63 (patch)
tree9c3029010870a3168d575b06c5f59e064db4a012
parentfd20a5475e33d5b7198cc22b6a5a6940c4a1ac90 (diff)
downloadcgit-afffc3e772a7b0c9d729f330ef2c9900c4343b63.tar.gz
cgit-afffc3e772a7b0c9d729f330ef2c9900c4343b63.tar.bz2
cgit-afffc3e772a7b0c9d729f330ef2c9900c4343b63.zip
ui-repolist,ui-shared: 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> Reviewed-by: Eric Wong <e@80x24.org> Reviewed-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--ui-repolist.c2
-rw-r--r--ui-shared.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 529a203..d12e3dd 100644
--- a/ui-repolist.c
+++ b/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/ui-shared.c b/ui-shared.c
index acd8ab5..f880c4e 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -995,7 +995,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");