mirror of
https://git.zx2c4.com/cgit
synced 2024-11-23 08:58:41 +00:00
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>
This commit is contained in:
parent
fd20a5475e
commit
afffc3e772
@ -321,7 +321,7 @@ void cgit_print_repolist(void)
|
|||||||
}
|
}
|
||||||
htmlf("<tr><td class='%s'>",
|
htmlf("<tr><td class='%s'>",
|
||||||
!sorted && section ? "sublevel-repo" : "toplevel-repo");
|
!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>");
|
html("</td><td>");
|
||||||
repourl = cgit_repourl(ctx.repo->url);
|
repourl = cgit_repourl(ctx.repo->url);
|
||||||
html_link_open(repourl, NULL, NULL);
|
html_link_open(repourl, NULL, NULL);
|
||||||
|
@ -995,7 +995,7 @@ static void print_header(void)
|
|||||||
if (ctx.repo) {
|
if (ctx.repo) {
|
||||||
cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1);
|
cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1);
|
||||||
html(" : ");
|
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) {
|
if (ctx.env.authenticated) {
|
||||||
html("</td><td class='form'>");
|
html("</td><td class='form'>");
|
||||||
html("<form method='get'>\n");
|
html("<form method='get'>\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user