]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-shared.c
ui-shared: do not print repo name on the "summary" tab
[cgit.git] / ui-shared.c
index 1fc5c0978bde754ce540285cc9300ca84159d2bf..d909f552ebcd3774bcb8cd5451b4a2239535f422 100644 (file)
@@ -631,8 +631,7 @@ void cgit_print_pageheader(struct cgit_context *ctx)
 
        html("<table class='tabs'><tr><td>\n");
        if (ctx->repo) {
-               cgit_summary_link(ctx->repo->name, ctx->repo->name, NULL,
-                       ctx->qry.head);
+               cgit_summary_link("summary", NULL, NULL, ctx->qry.head);
                cgit_refs_link("refs", NULL, hc(cmd, "refs"), ctx->qry.head,
                               ctx->qry.sha1, NULL);
                cgit_log_link("log", NULL, hc(cmd, "log"), ctx->qry.head,