author | Lars Hjemli <hjemli@gmail.com> | 2008-07-27 10:22:16 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-07-27 10:22:16 (UTC) |
commit | 2d6ee032d0c2f84ebcfaa12d3289e85cfab18fcd (patch) (unidiff) | |
tree | d653a5a24e24d6ef3c2cbfc833a212a123aef5fa | |
parent | 78af25ccac7aab6baccd58e4d65bfe879a25dd54 (diff) | |
download | cgit-2d6ee032d0c2f84ebcfaa12d3289e85cfab18fcd.zip cgit-2d6ee032d0c2f84ebcfaa12d3289e85cfab18fcd.tar.gz cgit-2d6ee032d0c2f84ebcfaa12d3289e85cfab18fcd.tar.bz2 |
ui-shared: show repo owner along with description
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | ui-shared.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-shared.c b/ui-shared.c index 6f83d2a..209af6e 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -571,14 +571,14 @@ void cgit_print_pageheader(struct cgit_context *ctx) | |||
571 | } else | 571 | } else |
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) |
584 | html_include(ctx->cfg.index_info); | 584 | html_include(ctx->cfg.index_info); |