Bret K. Ikehara
2013-08-04 cd9461c0c05958444d1313b794be57df39d98956
src/main/java/com/gitblit/wicket/pages/CommitPage.java
@@ -117,7 +117,7 @@
      };
      add(parentsView);
      addFullText("fullMessage", c.getFullMessage(), true);
      addFullText("fullMessage", c.getFullMessage());
      // git notes
      List<GitNote> notes = JGitUtils.getNotesOnCommit(r, c);
@@ -133,8 +133,8 @@
            item.add(new GravatarImage("noteAuthorAvatar", entry.notesRef.getAuthorIdent()));
            item.add(WicketUtils.createTimestampLabel("authorDate", entry.notesRef
                  .getAuthorIdent().getWhen(), getTimeZone(), getTimeUtils()));
            item.add(new Label("noteContent", GitBlit.self().processCommitMessage(
                  repositoryName, entry.content)).setEscapeModelStrings(false));
            item.add(new Label("noteContent", GitBlit.self().processPlainCommitMessage(repositoryName,
                  entry.content)).setEscapeModelStrings(false));
         }
      };
      add(notesView.setVisible(notes.size() > 0));