summaryrefslogtreecommitdiff
path: root/ui_70-shared.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-07-30 07:20:20 +0100
committerKatolaZ <katolaz@freaknet.org>2018-07-30 07:20:20 +0100
commit6856761423c002230f49c69e491f42512b11a357 (patch)
tree55175084bad939497c5f09936c61defb3d985a22 /ui_70-shared.c
parentee667540e07eaffaed612e8ca8572611ea1f42d9 (diff)
fixed repo and summary header
Diffstat (limited to 'ui_70-shared.c')
-rw-r--r--ui_70-shared.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui_70-shared.c b/ui_70-shared.c
index 02376b2..bad38a5 100644
--- a/ui_70-shared.c
+++ b/ui_70-shared.c
@@ -1152,17 +1152,17 @@ static void print_header(void)
{
if (ctx.repo) {
cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1);
- cgit_gopher_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL);
- } else
- cgit_gopher_info(ctx.cfg.root_title);
- if (ctx.repo) {
cgit_gopher_start_selector(GOPHER_INFO);
- cgit_gopher_text("Owner: ");
+ cgit_gopher_text("Repository: ");
+ cgit_gopher_text(ctx.repo->name);
+ cgit_gopher_text(" (owned by ");
cgit_gopher_text(ctx.repo->owner);
+ cgit_gopher_text(")");
cgit_gopher_tab();
cgit_gopher_selector_link("Err");
cgit_gopher_end_selector();
- }
+ } else
+ cgit_gopher_info(ctx.cfg.root_title);
}
void cgit_print_pageheader(void)