diff options
author | James Moger <james.moger@gitblit.com> | 2011-04-21 20:50:59 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-04-21 20:50:59 -0400 |
commit | a645ba09d693495c50ab0ee0d1fc2734407b73a4 (patch) | |
tree | 99659d46006926d10ca564718eb7808bd3e5d242 /src/com/gitblit/wicket/pages/CommitDiffPage.java | |
parent | 3df3496185d229e6f1cdeb6f182f7933884ca29c (diff) | |
download | gitblit-a645ba09d693495c50ab0ee0d1fc2734407b73a4.tar.gz gitblit-a645ba09d693495c50ab0ee0d1fc2734407b73a4.zip |
Added merge icon. Added commit legend with counts. Improved header.
Diffstat (limited to 'src/com/gitblit/wicket/pages/CommitDiffPage.java')
-rw-r--r-- | src/com/gitblit/wicket/pages/CommitDiffPage.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/gitblit/wicket/pages/CommitDiffPage.java b/src/com/gitblit/wicket/pages/CommitDiffPage.java index c6f1f7d3..0d4867ab 100644 --- a/src/com/gitblit/wicket/pages/CommitDiffPage.java +++ b/src/com/gitblit/wicket/pages/CommitDiffPage.java @@ -20,6 +20,7 @@ import com.gitblit.wicket.LinkPanel; import com.gitblit.wicket.RepositoryPage;
import com.gitblit.wicket.WicketUtils;
import com.gitblit.wicket.models.PathModel.PathChangeModel;
+import com.gitblit.wicket.panels.CommitLegendPanel;
public class CommitDiffPage extends RepositoryPage {
@@ -51,6 +52,7 @@ public class CommitDiffPage extends RepositoryPage { // changed paths list
List<PathChangeModel> paths = JGitUtils.getFilesInCommit(r, commit);
+ add(new CommitLegendPanel("commitLegend", paths));
ListDataProvider<PathChangeModel> pathsDp = new ListDataProvider<PathChangeModel>(paths);
DataView<PathChangeModel> pathsView = new DataView<PathChangeModel>("changedPath", pathsDp) {
private static final long serialVersionUID = 1L;
|