about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-20T18·59+0000
committerVincent Ambo <tazjin@google.com>2019-12-20T18·59+0000
commitf133234f7829eb523b5adbfeea6d83d8395190f8 (patch)
tree1fd979d60466e85459ce32adca22c1f71a58f3ea
parent9675da8ce50232e5c8fcc18a30c70bd0c72ea5af (diff)
chore(cgit-taz): Drop unused 'index' link from page top r/231
-rw-r--r--services/cgit-taz/cgit_depot_url.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/services/cgit-taz/cgit_depot_url.patch b/services/cgit-taz/cgit_depot_url.patch
index 7d22ddf418..cb81a2a49a 100644
--- a/services/cgit-taz/cgit_depot_url.patch
+++ b/services/cgit-taz/cgit_depot_url.patch
@@ -34,7 +34,7 @@ index 63f0ae5..b37b79d 100644
  
  static void blame_fn(void)
 diff --git a/ui-shared.c b/ui-shared.c
-index 739505a..6840c86 100644
+index 739505a..c7c3754 100644
 --- a/ui-shared.c
 +++ b/ui-shared.c
 @@ -95,29 +95,23 @@ const char *cgit_loginurl(void)
@@ -86,3 +86,12 @@ index 739505a..6840c86 100644
  		if (page) {
  			html_url_path(page);
  			html("/");
+@@ -957,8 +948,6 @@ static void print_header(void)
+ 
+ 	html("<td class='main'>");
+ 	if (ctx.repo) {
+-		cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1);
+-		html(" : ");
+ 		cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL);
+ 		if (ctx.env.authenticated) {
+ 			html("</td><td class='form'>");