From 7d56da628a55245403584d8f6c63af9c6ebbc6d5 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 4 Feb 2021 17:10:14 -0500 Subject: Use owner-filter for repo page headers Previously it was only used if owners were displayed on the index. --- www/git.causal.agency/cgit/ui-shared.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'www') diff --git a/www/git.causal.agency/cgit/ui-shared.c b/www/git.causal.agency/cgit/ui-shared.c index 61401b54..d02b6c85 100644 --- a/www/git.causal.agency/cgit/ui-shared.c +++ b/www/git.causal.agency/cgit/ui-shared.c @@ -1027,7 +1027,13 @@ static void print_header(void) if (ctx.repo) { html_txt(ctx.repo->desc); html(""); - html_txt(ctx.repo->owner); + if (ctx.repo->owner_filter) { + cgit_open_filter(ctx.repo->owner_filter); + html_txt(ctx.repo->owner); + cgit_close_filter(ctx.repo->owner_filter); + } else { + html_txt(ctx.repo->owner); + } } else { if (ctx.cfg.root_desc) html_txt(ctx.cfg.root_desc); -- cgit 1.4.1 bd5ac541db056773e52530b0142556cf88d0ce'>refs log tree commit diff
path: root/www/text.causal.agency/029-topics.7 (unfollow)
Commit message (Expand)Author
2022-04-20Revert "Make (pun) the dependencies make (pun) more sense"June McEnroe
2022-04-20Set txt mtimes to source mtimesJune McEnroe
2022-04-20Make (pun) the dependencies make (pun) more senseJune McEnroe
2022-04-17Add HenchJune McEnroe
2022-04-14Publish "Agency"June McEnroe
2022-04-13Swap dates so the difference is always positiveJune McEnroe
2022-04-04Update "Care"June McEnroe
2022-04-03Publish "Care"June McEnroe
2022-03-31Publish "Compassion"June McEnroe
2022-03-24Skip matches with ident chars on either sideJune McEnroe
2022-03-24Add The Invisible Life of Addie LaRueJune McEnroe
2022-03-22Source ~/.profile.local if it existsJune McEnroe
2022-03-18Publish "Addendum 2021"June McEnroe
2022-03-16Remove wcwidth portJune McEnroe
2022-03-16Remove -j4 from ./PlanJune McEnroe
2022-03-15Rewrite Linux install.sh for DebianJune McEnroe
2022-03-15Remove dashJune McEnroe