mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 08:28:42 +00:00
ui-commit: show subject in commit page title
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
bcffc52366
commit
fd20a5475e
@ -43,6 +43,7 @@ void cgit_print_commit(char *hex, const char *prefix)
|
|||||||
|
|
||||||
load_ref_decorations(NULL, DECORATE_FULL_REFS);
|
load_ref_decorations(NULL, DECORATE_FULL_REFS);
|
||||||
|
|
||||||
|
ctx.page.title = fmtalloc("%s - %s", info->subject, ctx.page.title);
|
||||||
cgit_print_layout_start();
|
cgit_print_layout_start();
|
||||||
cgit_print_diff_ctrls();
|
cgit_print_diff_ctrls();
|
||||||
html("<table summary='commit info' class='commit-info'>\n");
|
html("<table summary='commit info' class='commit-info'>\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user