]> granicus.if.org Git - cgit/commitdiff
Change "files" to "tree"
authorLars Hjemli <hjemli@gmail.com>
Mon, 18 Jun 2007 20:06:00 +0000 (22:06 +0200)
committerLars Hjemli <hjemli@gmail.com>
Mon, 18 Jun 2007 20:06:00 +0000 (22:06 +0200)
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>
ui-repolist.c
ui-shared.c

index 2018dabbeca245192fc022caec4509fcf0ee166a..d5c77ea6f011611a3a1a3bd68f319f7743aa0403 100644 (file)
@@ -90,7 +90,7 @@ void cgit_print_repolist(struct cacheitem *item)
                               "Summary", "button");
                html("S</a>");
                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("</table>");
index 383b8acb353124c85ec2f920971df469013c5a08..a198cf2e2bc42ff768d82f495b19ffe7db530102 100644 (file)
@@ -304,7 +304,7 @@ void cgit_print_pageheader(char *title, int show_search)
                cgit_log_link("log", NULL, NULL, cgit_query_head,
                              cgit_query_sha1, cgit_query_path);
                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);
                html(" ");
                cgit_commit_link("commit", NULL, NULL, cgit_query_head,