mirror of
https://git.zx2c4.com/cgit
synced 2024-11-26 10:28:42 +00:00
ui-shared: show repo owner along with description
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
78af25ccac
commit
2d6ee032d0
@ -572,12 +572,12 @@ void cgit_print_pageheader(struct cgit_context *ctx)
|
|||||||
html_txt(ctx->cfg.root_title);
|
html_txt(ctx->cfg.root_title);
|
||||||
html("</td></tr>\n");
|
html("</td></tr>\n");
|
||||||
|
|
||||||
html("<tr><td class='sub'");
|
html("<tr><td class='sub'>");
|
||||||
if (ctx->repo) {
|
if (ctx->repo) {
|
||||||
html(" colspan='2'>");
|
|
||||||
html_txt(ctx->repo->desc);
|
html_txt(ctx->repo->desc);
|
||||||
|
html("</td><td class='sub right'>");
|
||||||
|
html_txt(ctx->repo->owner);
|
||||||
} else {
|
} else {
|
||||||
html(">");
|
|
||||||
if (ctx->cfg.root_desc)
|
if (ctx->cfg.root_desc)
|
||||||
html_txt(ctx->cfg.root_desc);
|
html_txt(ctx->cfg.root_desc);
|
||||||
else if (ctx->cfg.index_info)
|
else if (ctx->cfg.index_info)
|
||||||
|
Loading…
Reference in New Issue
Block a user