summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2007-06-18 20:06:00 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-06-18 20:06:00 (UTC)
commit1f34fb9d4f0bf82706ed8912c37a4b320a14813b (patch) (unidiff)
tree52b1ae2f6d61fc595669abdfb9cf42cb8dc7eae1
parent7d6ee4ee8a2c79802a78bc09c0e1e96a7a82de78 (diff)
downloadcgit-1f34fb9d4f0bf82706ed8912c37a4b320a14813b.zip
cgit-1f34fb9d4f0bf82706ed8912c37a4b320a14813b.tar.gz
cgit-1f34fb9d4f0bf82706ed8912c37a4b320a14813b.tar.bz2
Change "files" to "tree"
This renames the menu link and the shortcut on the repo index page from the strange "files" to the more gittish "tree". Suggested-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ui-repolist.c2
-rw-r--r--ui-shared.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 2018dab..d5c77ea 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -87,12 +87,12 @@ void cgit_print_repolist(struct cacheitem *item)
87 print_modtime(cgit_repo); 87 print_modtime(cgit_repo);
88 html("</td><td>"); 88 html("</td><td>");
89 html_link_open(cgit_repourl(cgit_repo->url), 89 html_link_open(cgit_repourl(cgit_repo->url),
90 "Summary", "button"); 90 "Summary", "button");
91 html("S</a>"); 91 html("S</a>");
92 cgit_log_link("L", "Log", "button", NULL, NULL, NULL); 92 cgit_log_link("L", "Log", "button", NULL, NULL, NULL);
93 cgit_tree_link("F", "Files", "button", NULL, NULL, NULL); 93 cgit_tree_link("T", "Tree", "button", NULL, NULL, NULL);
94 html("</td></tr>\n"); 94 html("</td></tr>\n");
95 } 95 }
96 html("</table>"); 96 html("</table>");
97 cgit_print_docend(); 97 cgit_print_docend();
98} 98}
diff --git a/ui-shared.c b/ui-shared.c
index 383b8ac..a198cf2 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -301,13 +301,13 @@ void cgit_print_pageheader(char *title, int show_search)
301 reporevlink(NULL, "summary", NULL, NULL, cgit_query_head, 301 reporevlink(NULL, "summary", NULL, NULL, cgit_query_head,
302 NULL, NULL); 302 NULL, NULL);
303 html(" "); 303 html(" ");
304 cgit_log_link("log", NULL, NULL, cgit_query_head, 304 cgit_log_link("log", NULL, NULL, cgit_query_head,
305 cgit_query_sha1, cgit_query_path); 305 cgit_query_sha1, cgit_query_path);
306 html(" "); 306 html(" ");
307 cgit_tree_link("files", NULL, NULL, cgit_query_head, 307 cgit_tree_link("tree", NULL, NULL, cgit_query_head,
308 cgit_query_sha1, cgit_query_path); 308 cgit_query_sha1, cgit_query_path);
309 html(" "); 309 html(" ");
310 cgit_commit_link("commit", NULL, NULL, cgit_query_head, 310 cgit_commit_link("commit", NULL, NULL, cgit_query_head,
311 cgit_query_sha1); 311 cgit_query_sha1);
312 html(" "); 312 html(" ");
313 cgit_diff_link("diff", NULL, NULL, cgit_query_head, 313 cgit_diff_link("diff", NULL, NULL, cgit_query_head,