feat(cgit/ui-commit): show subject in page title
This commit is contained in:
parent
b503c2afcf
commit
cd8a9f7b27
1 changed files with 1 additions and 0 deletions
1
third_party/cgit/ui-commit.c
vendored
1
third_party/cgit/ui-commit.c
vendored
|
@ -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 a new issue