about summary refs log tree commit
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2019-03-15 20:17:05 +0000
committerEric Wong <e@80x24.org>2019-04-22 02:34:38 +0000
commit0f303be9c451996e998826214d87dce3e164bd75 (patch)
tree83cac9a49fe00207bfc71b9cb1bbee7b3aa341ef
parent6d323f98814936af3671122f39aaeed4266a1a74 (diff)
ui-repolist, ui-shared: remove redundant title on repo anchors HEAD master
The title attribute was being set to the same value as the anchor
element text.

Signed-off-by: Chris Mayo <aklhfex@gmail.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 6187101..2b0ac5e 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 1bb22e6..410f78f 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -992,7 +992,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");