| | |
| | | import org.apache.wicket.markup.repeater.Item;
|
| | | import org.apache.wicket.markup.repeater.data.DataView;
|
| | | import org.apache.wicket.markup.repeater.data.ListDataProvider;
|
| | | import org.eclipse.jgit.lib.Repository;
|
| | |
|
| | | import com.gitblit.Constants;
|
| | | import com.gitblit.GitBlit;
|
| | |
| | | commitItem.add(repositoryLink);
|
| | |
|
| | | // repository branch
|
| | | LinkPanel branchLink = new LinkPanel("branch", "list", commit.branch,
|
| | | LinkPanel branchLink = new LinkPanel("branch", "list", Repository.shortenRefName(commit.branch),
|
| | | LogPage.class, WicketUtils.newObjectParameter(commit.repository,
|
| | | commit.branch), true);
|
| | | WicketUtils.setCssStyle(branchLink, "color: #008000;");
|