about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-06-18 22:06:00 +0200
committerLars Hjemli <hjemli@gmail.com>2007-06-18 22:06:00 +0200
commit1f34fb9d4f0bf82706ed8912c37a4b320a14813b (patch)
tree52b1ae2f6d61fc595669abdfb9cf42cb8dc7eae1
parentInclude querystring as part of cached filename for repo summary page (diff)
downloadcgit-pink-1f34fb9d4f0bf82706ed8912c37a4b320a14813b.tar.gz
cgit-pink-1f34fb9d4f0bf82706ed8912c37a4b320a14813b.zip
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>
-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
@@ -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>");
diff --git a/ui-shared.c b/ui-shared.c
index 383b8ac..a198cf2 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -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,
le='2021-09-22 15:40:24 +0000'>2021-09-22Remove default faviconJune McEnroe 2021-09-21Use Z_FILTERED strategyJune McEnroe 2021-09-21Recalculate various lengths only as neededJune McEnroe 2021-09-21Rewrite pngo, add explicit optionsJune McEnroe 2021-09-16Fix /* **/ comment matchingJune McEnroe 2021-09-15Remove typer, add downgrade to READMEJune McEnroe 2021-09-15Set bot mode on downgradeJune McEnroe 2021-09-15Enter capsicum in downgradeJune McEnroe 2021-09-15Factor out common parts of downgrade messagesJune McEnroe 2021-09-14Add downgrade IRC botJune McEnroe 2021-09-14Sort by title if authors matchJune McEnroe 2021-09-13Swap-remove tags as they're foundJune McEnroe 2021-09-12Replace htagml regex with strncmpJune McEnroe 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe