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>
This commit is contained in:
Lars Hjemli 2007-06-18 22:06:00 +02:00
parent 7d6ee4ee8a
commit 1f34fb9d4f
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ void cgit_print_repolist(struct cacheitem *item)
"Summary", "button"); "Summary", "button");
html("S</a>"); html("S</a>");
cgit_log_link("L", "Log", "button", NULL, NULL, NULL); cgit_log_link("L", "Log", "button", NULL, NULL, NULL);
cgit_tree_link("F", "Files", "button", NULL, NULL, NULL); cgit_tree_link("T", "Tree", "button", NULL, NULL, NULL);
html("</td></tr>\n"); html("</td></tr>\n");
} }
html("</table>"); html("</table>");

View File

@ -304,7 +304,7 @@ void cgit_print_pageheader(char *title, int show_search)
cgit_log_link("log", NULL, NULL, cgit_query_head, cgit_log_link("log", NULL, NULL, cgit_query_head,
cgit_query_sha1, cgit_query_path); cgit_query_sha1, cgit_query_path);
html(" "); html(" ");
cgit_tree_link("files", NULL, NULL, cgit_query_head, cgit_tree_link("tree", NULL, NULL, cgit_query_head,
cgit_query_sha1, cgit_query_path); cgit_query_sha1, cgit_query_path);
html(" "); html(" ");
cgit_commit_link("commit", NULL, NULL, cgit_query_head, cgit_commit_link("commit", NULL, NULL, cgit_query_head,