diff options
author | James Moger <james.moger@gitblit.com> | 2011-04-11 08:18:22 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-04-11 08:18:22 -0400 |
commit | ef5c58d12ff33e4f2b83b6dcd53bdb6c96a6150d (patch) | |
tree | 5f936789acb589032a7b159408f577a19ec700b8 /src/com/gitblit/wicket/panels/BranchesPanel.java | |
parent | 698678268f53067c239a11e928dfd16761a2f9f7 (diff) | |
download | gitblit-ef5c58d12ff33e4f2b83b6dcd53bdb6c96a6150d.tar.gz gitblit-ef5c58d12ff33e4f2b83b6dcd53bdb6c96a6150d.zip |
Page log.
Diffstat (limited to 'src/com/gitblit/wicket/panels/BranchesPanel.java')
-rw-r--r-- | src/com/gitblit/wicket/panels/BranchesPanel.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/gitblit/wicket/panels/BranchesPanel.java b/src/com/gitblit/wicket/panels/BranchesPanel.java index dd4596da..d060b147 100644 --- a/src/com/gitblit/wicket/panels/BranchesPanel.java +++ b/src/com/gitblit/wicket/panels/BranchesPanel.java @@ -61,14 +61,14 @@ public class BranchesPanel extends Panel { item.add(WicketUtils.createDateLabel("branchDate", entry.getDate(), GitBlitWebSession.get().getTimezone()));
- item.add(new LinkPanel("branchName", "list name", WicketUtils.trimString(entry.getDisplayName(), 28), LogPage.class, WicketUtils.newCommitParameter(repositoryName, entry.getName())));
+ item.add(new LinkPanel("branchName", "list name", WicketUtils.trimString(entry.getDisplayName(), 28), LogPage.class, WicketUtils.newObjectParameter(repositoryName, entry.getName())));
// only show branch type on the branches page
boolean remote = entry.getName().startsWith(Constants.R_REMOTES);
item.add(new Label("branchType", remote ? getString("gb.remote"):getString("gb.local")).setVisible(maxCount <= 0));
- item.add(new BookmarkablePageLink<Void>("log", LogPage.class, WicketUtils.newCommitParameter(repositoryName, entry.getName())));
- item.add(new BookmarkablePageLink<Void>("tree", TreePage.class, WicketUtils.newCommitParameter(repositoryName, entry.getName())));
+ item.add(new BookmarkablePageLink<Void>("log", LogPage.class, WicketUtils.newObjectParameter(repositoryName, entry.getName())));
+ item.add(new BookmarkablePageLink<Void>("tree", TreePage.class, WicketUtils.newObjectParameter(repositoryName, entry.getName())));
WicketUtils.setAlternatingBackground(item, counter);
counter++;
|