diff options
-rw-r--r-- | ui-repolist.c | 2 | ||||
-rw-r--r-- | ui-shared.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 97b11c5..03f513c 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, NULL, NULL, NULL); | 324 | cgit_repo_link(ctx.repo->name, ctx.repo->name, 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 0b7937c..0bbe39b 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -345,7 +345,6 @@ void cgit_repo_link(const char *name, const char *title, const char *class, | |||
345 | reporevlink(NULL, name, title, class, head, NULL, NULL); | 345 | reporevlink(NULL, name, title, class, head, NULL, NULL); |
346 | } | 346 | } |
347 | 347 | ||
348 | |||
349 | void cgit_summary_link(const char *name, const char *title, const char *class, | 348 | void cgit_summary_link(const char *name, const char *title, const char *class, |
350 | const char *head) | 349 | const char *head) |
351 | { | 350 | { |
@@ -1022,7 +1021,7 @@ static void print_header(void) | |||
1022 | if (ctx.repo) { | 1021 | if (ctx.repo) { |
1023 | cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1); | 1022 | cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1); |
1024 | html(" : "); | 1023 | html(" : "); |
1025 | cgit_summary_link(ctx.repo->name, NULL, NULL, NULL); | 1024 | cgit_repo_link(ctx.repo->name, ctx.repo->name, NULL, NULL); |
1026 | if (ctx.env.authenticated) { | 1025 | if (ctx.env.authenticated) { |
1027 | html("</td><td class='form'>"); | 1026 | html("</td><td class='form'>"); |
1028 | html("<form method='get'>\n"); | 1027 | html("<form method='get'>\n"); |