List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH v2] ui-commit: show subject in page title
@ 2020-02-23 18:52 june
  2020-02-26 12:21 ` actionmystique
  0 siblings, 1 reply; 5+ messages in thread
From: june @ 2020-02-23 18:52 UTC (permalink / raw)


Signed-off-by: C. McEnroe <june at causal.agency>
---

With Signed-off-by.

 ui-commit.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui-commit.c b/ui-commit.c
index 9a47b54..ac3ca01 100644
--- a/ui-commit.c
+++ b/ui-commit.c
@@ -43,6 +43,7 @@ void cgit_print_commit(char *hex, const char *prefix)
 
 	load_ref_decorations(NULL, DECORATE_FULL_REFS);
 
+	ctx.page.title = fmtalloc("%s - %s", info->subject, ctx.page.title);
 	cgit_print_layout_start();
 	cgit_print_diff_ctrls();
 	html("<table summary='commit info' class='commit-info'>\n");
-- 
2.25.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-27 10:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-23 18:52 [PATCH v2] ui-commit: show subject in page title june
2020-02-26 12:21 ` actionmystique
2020-02-27  0:50   ` june
2020-02-27 10:07     ` actionmystique
2020-02-27 10:13       ` june

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).