all repos — cgit @ 1383fe3fa60b4c207d103a49943a59de71a36fe1

a hyperfast web frontend for git written in c

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 <justin.waters@timesys.com>
Justin Waters justin.waters@timesys.com
Fri, 09 Jan 2009 17:35:10 -0500
commit

1383fe3fa60b4c207d103a49943a59de71a36fe1

parent

aa60ae12cb3db965b3fe7239424cab92175b8343

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M ui-log.cui-log.c

@@ -165,7 +165,8 @@ html("<tr class='nohover'><th class='left'>Age</th>"

"<th class='left'>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(")");