From: James Moger Date: Sat, 7 Jan 2012 21:39:12 +0000 (-0500) Subject: Show tagger gravatar on tag page X-Git-Tag: v0.8.0~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=01eec5f00cdd8fe4a647aac10dbd9768982896ea;p=gitblit.git Show tagger gravatar on tag page --- diff --git a/src/com/gitblit/wicket/pages/TagPage.html b/src/com/gitblit/wicket/pages/TagPage.html index f1a42c1a..5e897936 100644 --- a/src/com/gitblit/wicket/pages/TagPage.html +++ b/src/com/gitblit/wicket/pages/TagPage.html @@ -10,6 +10,9 @@
[shortlog header]
+ + + diff --git a/src/com/gitblit/wicket/pages/TagPage.java b/src/com/gitblit/wicket/pages/TagPage.java index b1ab0714..acdd77f3 100644 --- a/src/com/gitblit/wicket/pages/TagPage.java +++ b/src/com/gitblit/wicket/pages/TagPage.java @@ -28,6 +28,7 @@ import org.eclipse.jgit.lib.Repository; import com.gitblit.models.RefModel; import com.gitblit.utils.JGitUtils; import com.gitblit.wicket.WicketUtils; +import com.gitblit.wicket.panels.GravatarImage; import com.gitblit.wicket.panels.LinkPanel; import com.gitblit.wicket.panels.RefsPanel; @@ -73,6 +74,8 @@ public class TagPage extends RepositoryPage { 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(),
[name][tag name]