author | Lars Hjemli <hjemli@gmail.com> | 2007-06-18 20:06:00 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-06-18 20:06:00 (UTC) |
commit | 1f34fb9d4f0bf82706ed8912c37a4b320a14813b (patch) (unidiff) | |
tree | 52b1ae2f6d61fc595669abdfb9cf42cb8dc7eae1 /ui-shared.c | |
parent | 7d6ee4ee8a2c79802a78bc09c0e1e96a7a82de78 (diff) | |
download | cgit-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>
-rw-r--r-- | ui-shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index 383b8ac..a198cf2 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -295,25 +295,25 @@ void cgit_print_pageheader(char *title, int show_search) | |||
295 | html("<tr><td id='crumb'>"); | 295 | html("<tr><td id='crumb'>"); |
296 | if (cgit_query_repo) { | 296 | if (cgit_query_repo) { |
297 | html_txt(cgit_repo->name); | 297 | html_txt(cgit_repo->name); |
298 | html(" ("); | 298 | html(" ("); |
299 | html_txt(cgit_query_head); | 299 | html_txt(cgit_query_head); |
300 | html(") : "); | 300 | html(") : "); |
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, |
314 | cgit_query_sha1, cgit_query_sha2, | 314 | cgit_query_sha1, cgit_query_sha2, |
315 | cgit_query_path); | 315 | cgit_query_path); |
316 | } else { | 316 | } else { |
317 | html_txt("Index of repositories"); | 317 | html_txt("Index of repositories"); |
318 | } | 318 | } |
319 | html("</td>"); | 319 | html("</td>"); |