aboutsummaryrefslogtreecommitdiffstats
path: root/ui-log.c
diff options
context:
space:
mode:
authorGravatar Justin Waters <justin.waters@timesys.com>2009-01-10 07:35:10 (JST)
committerGravatar Lars Hjemli <hjemli@gmail.com>2009-01-11 20:52:38 (JST)
commit1383fe3fa60b4c207d103a49943a59de71a36fe1 (patch)
treed967bb5589949a4ff7862bc99efec88fa6437b51 /ui-log.c
parentaa60ae12cb3db965b3fe7239424cab92175b8343 (diff)
downloadcgit-1383fe3fa60b4c207d103a49943a59de71a36fe1.zip
cgit-1383fe3fa60b4c207d103a49943a59de71a36fe1.tar.gz
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>
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c3
1 files changed, 2 insertions, 1 deletions
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
165 "<th class='left'>Commit message"); 165 "<th class='left'>Commit message");
166 if (pager) { 166 if (pager) {
167 html(" ("); 167 html(" (");
168 cgit_log_link("toggle", NULL, NULL, ctx.qry.head, ctx.qry.sha1, 168 cgit_log_link(ctx.qry.showmsg ? "Collapse" : "Expand", NULL,
169 NULL, ctx.qry.head, ctx.qry.sha1,
169 ctx.qry.path, ctx.qry.ofs, ctx.qry.grep, 170 ctx.qry.path, ctx.qry.ofs, ctx.qry.grep,
170 ctx.qry.search, ctx.qry.showmsg ? 0 : 1); 171 ctx.qry.search, ctx.qry.showmsg ? 0 : 1);
171 html(")"); 172 html(")");