| | |
| | |
|
| | | import com.gitblit.models.RefModel;
|
| | | import com.gitblit.utils.JGitUtils;
|
| | | import com.gitblit.utils.JGitUtils.SearchType;
|
| | | import com.gitblit.wicket.WicketUtils;
|
| | | import com.gitblit.wicket.panels.GravatarImage;
|
| | | import com.gitblit.wicket.panels.LinkPanel;
|
| | | import com.gitblit.wicket.panels.RefsPanel;
|
| | |
|
| | |
| | | break;
|
| | | }
|
| | | add(new LinkPanel("commit", "title", tagRef.displayName, linkClass, linkParameters));
|
| | | add(new GravatarImage("taggerAvatar", tagRef.getAuthorIdent()));
|
| | | |
| | | add(new RefsPanel("tagName", repositoryName, Arrays.asList(tagRef)));
|
| | | add(new Label("tagId", tagRef.getObjectId().getName()));
|
| | | add(new LinkPanel("taggedObject", "list", tagRef.getReferencedObjectId().getName(),
|
| | | linkClass, linkParameters));
|
| | | add(new Label("taggedObjectType", getString(typeKey)));
|
| | |
|
| | | add(createPersonPanel("tagger", tagRef.getAuthorIdent(), SearchType.AUTHOR));
|
| | | add(createPersonPanel("tagger", tagRef.getAuthorIdent(), com.gitblit.Constants.SearchType.AUTHOR));
|
| | | Date when = new Date(0);
|
| | | if (tagRef.getAuthorIdent() != null) {
|
| | | when = tagRef.getAuthorIdent().getWhen();
|