From d45de4dd4558be1db607f3315ddecf4814f37ba2 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Tue, 31 Jul 2018 11:11:21 +0100 Subject: fixed selector for repo page --- ui_70-shared.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ui_70-shared.c b/ui_70-shared.c index e258f57..9abf94c 100644 --- a/ui_70-shared.c +++ b/ui_70-shared.c @@ -1157,15 +1157,14 @@ static void cgit_print_path_crumbs(char *path) static void print_header(void) { if (ctx.repo) { - cgit_gopher_index_link("index", NULL, NULL, NULL, NULL, 0, 1); - cgit_gopher_start_selector(GOPHER_INFO); - cgit_gopher_text("Repository: "); + cgit_gopher_index_link("repo list", NULL, NULL, NULL, NULL, 0, 1); + cgit_gopher_start_selector(GOPHER_MENU); 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_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL); cgit_gopher_end_selector(); } else cgit_gopher_info(ctx.cfg.root_title); -- cgit v1.2.3