summaryrefslogtreecommitdiff
path: root/ui_70-shared.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-07-31 11:11:21 +0100
committerKatolaZ <katolaz@freaknet.org>2018-07-31 11:11:21 +0100
commitd45de4dd4558be1db607f3315ddecf4814f37ba2 (patch)
tree05d412f632706bfd770736d6e4d1bae92ccf4bad /ui_70-shared.c
parent2b4c869a99a093a785cdf83539711d98a0d5c604 (diff)
fixed selector for repo page
Diffstat (limited to 'ui_70-shared.c')
-rw-r--r--ui_70-shared.c7
1 files 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);