James Moger
2012-10-13 c658df9e87d65b08d5482cf04489cb0532ff83dd
src/com/gitblit/wicket/pages/TagPage.java
@@ -28,6 +28,7 @@
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;
@@ -50,7 +51,7 @@
      // Failed to find tag!
      if (tagRef == null) {
         error(MessageFormat.format("Could not find tag {0}", objectId), true);
         error(MessageFormat.format(getString("gb.couldNotFindTag"), objectId), true);
      }
      // Display tag.
@@ -73,6 +74,8 @@
         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(),
@@ -84,7 +87,7 @@
      if (tagRef.getAuthorIdent() != null) {
         when = tagRef.getAuthorIdent().getWhen();
      }
      add(WicketUtils.createTimestampLabel("tagDate", when, getTimeZone()));
      add(WicketUtils.createTimestampLabel("tagDate", when, getTimeZone(), getTimeUtils()));
      addFullText("fullMessage", tagRef.getFullMessage(), true);
   }