diff options
author | Lars Hjemli <hjemli@gmail.com> | 2008-07-27 12:22:16 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-07-27 12:22:16 +0200 |
commit | 2d6ee032d0c2f84ebcfaa12d3289e85cfab18fcd (patch) | |
tree | d653a5a24e24d6ef3c2cbfc833a212a123aef5fa /ui-shared.c | |
parent | 78af25ccac7aab6baccd58e4d65bfe879a25dd54 (diff) | |
download | cgit-2d6ee032d0c2f84ebcfaa12d3289e85cfab18fcd.tar.gz cgit-2d6ee032d0c2f84ebcfaa12d3289e85cfab18fcd.tar.xz |
ui-shared: show repo owner along with description
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-shared.c')
-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 @@ -572,12 +572,12 @@ void cgit_print_pageheader(struct cgit_context *ctx) html_txt(ctx->cfg.root_title); html("</td></tr>\n"); - html("<tr><td class='sub'"); + html("<tr><td class='sub'>"); if (ctx->repo) { - html(" colspan='2'>"); html_txt(ctx->repo->desc); + html("</td><td class='sub right'>"); + html_txt(ctx->repo->owner); } else { - html(">"); if (ctx->cfg.root_desc) html_txt(ctx->cfg.root_desc); else if (ctx->cfg.index_info) |