diff options
author | Chris Mayo | 2019-03-15 20:17:05 +0000 |
---|---|---|
committer | Yigit Sever | 2023-07-21 03:03:50 +0300 |
commit | 817ca1131016360a68ee11358da03cfcb26505d1 (patch) | |
tree | 1833978b305dbd887918e8c5a550d3d0b91c918a | |
parent | 51b86d8dfa874e203394583b8ae0530e7a9f79f1 (diff) | |
download | cgit-817ca1131016360a68ee11358da03cfcb26505d1.tar.gz cgit-817ca1131016360a68ee11358da03cfcb26505d1.tar.bz2 cgit-817ca1131016360a68ee11358da03cfcb26505d1.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.c | 2 | ||||
-rw-r--r-- | ui-shared.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 9a9c1a2..17efb0a 100644 --- a/ui-repolist.c +++ b/ui-repolist.c | |||
@@ -321,7 +321,7 @@ void cgit_print_repolist(void) | |||
321 | } | 321 | } |
322 | htmlf("<tr><td class='%s'>", | 322 | htmlf("<tr><td class='%s'>", |
323 | !sorted && section ? "sublevel-repo" : "toplevel-repo"); | 323 | !sorted && section ? "sublevel-repo" : "toplevel-repo"); |
324 | cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL); | 324 | cgit_summary_link(ctx.repo->name, NULL, NULL, NULL); |
325 | html("</td><td>"); | 325 | html("</td><td>"); |
326 | repourl = cgit_repourl(ctx.repo->url); | 326 | repourl = cgit_repourl(ctx.repo->url); |
327 | html_link_open(repourl, NULL, NULL); | 327 | html_link_open(repourl, NULL, NULL); |
diff --git a/ui-shared.c b/ui-shared.c index a7e40c3..e9052ff 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -995,7 +995,7 @@ static void print_header(void) | |||
995 | if (ctx.repo) { | 995 | if (ctx.repo) { |
996 | cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1); | 996 | cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1); |
997 | html(" : "); | 997 | html(" : "); |
998 | cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL); | 998 | cgit_summary_link(ctx.repo->name, NULL, NULL, NULL); |
999 | if (ctx.env.authenticated) { | 999 | if (ctx.env.authenticated) { |
1000 | html("</td><td class='form'>"); | 1000 | html("</td><td class='form'>"); |
1001 | html("<form method='get'>\n"); | 1001 | html("<form method='get'>\n"); |