From 1383fe3fa60b4c207d103a49943a59de71a36fe1 Mon Sep 17 00:00:00 2001 From: Justin Waters Date: Fri, 9 Jan 2009 17:35:10 -0500 Subject: Change toggle to more meaningful term In the log interface, there is a toggle link at the top, but it isn't clear what's being toggled. I've changed it to "Expand" and "Collapse" to make it clear that you are getting more and less information, respectively. Signed-off-by: Justin Waters --- ui-log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui-log.c b/ui-log.c index c3757dd..3202848 100644 --- a/ui-log.c +++ b/ui-log.c @@ -165,7 +165,8 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern "Commit message"); if (pager) { html(" ("); - cgit_log_link("toggle", NULL, NULL, ctx.qry.head, ctx.qry.sha1, + cgit_log_link(ctx.qry.showmsg ? "Collapse" : "Expand", NULL, + NULL, ctx.qry.head, ctx.qry.sha1, ctx.qry.path, ctx.qry.ofs, ctx.qry.grep, ctx.qry.search, ctx.qry.showmsg ? 0 : 1); html(")"); -- cgit 1.4.1 log tree commit diff
Commit message (Collapse)Author
2019-09-05Print title as soon as it's availableJune McEnroe
2019-09-05Use CURL_PREFIX to set flagsJune McEnroe
2019-09-05Add titleJune McEnroe
2019-09-04Add Avorter n'est pas tuerJune McEnroe
2019-08-29Unset executable on shell scriptsJune McEnroe
2019-08-29Add long-missing setopt to bin.7June McEnroe
2019-08-29Add editJune McEnroe