X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/cb1cc0d82d764051d8376281fcb556153f074c1a..fb2f3f6c29bad733723152893c5246a756e4cada:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index 224e5f3..97b9d46 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -641,6 +641,9 @@ void cgit_print_pageheader(struct cgit_context *ctx) ctx->qry.head, ctx->qry.sha1); cgit_diff_link("diff", NULL, hc(cmd, "diff"), ctx->qry.head, ctx->qry.sha1, ctx->qry.sha2, NULL); + if (ctx->repo->max_stats) + reporevlink("stats", "stats", NULL, hc(cmd, "stats"), + ctx->qry.head, NULL, NULL); if (ctx->repo->readme) reporevlink("about", "about", NULL, hc(cmd, "about"), ctx->qry.head, NULL,