History

ui-shared: show repo owner along with description

Lars Hjemli committed 18 years ago

Commit 2d6ee031 parent 78af25c1 file · +3 −3Browse files

Unified · Split

ui-shared.c+3−3
@@ -572,12 +572,12 @@ void cgit_print_pageheader(struct cgit_context *ctx) · 571 unmodified lines
572 html_txt(ctx->cfg.root_title);572 html_txt(ctx->cfg.root_title);
573 html("</td></tr>\n");573 html("</td></tr>\n");
574 574
575 html("<tr><td class='sub'");575 html("<tr><td class='sub'>");
576 if (ctx->repo) {576 if (ctx->repo) {
577 html(" colspan='2'>");
578 html_txt(ctx->repo->desc);577 html_txt(ctx->repo->desc);
578 html("</td><td class='sub right'>");
579 html_txt(ctx->repo->owner);
579 } else {580 } else {
580 html(">");
581 if (ctx->cfg.root_desc)581 if (ctx->cfg.root_desc)
582 html_txt(ctx->cfg.root_desc);582 html_txt(ctx->cfg.root_desc);
583 else if (ctx->cfg.index_info)583 else if (ctx->cfg.index_info)