From 4c837a1de9f7706c7bfb0cbb14a7082f916826ae Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 24 Oct 2011 22:58:55 -0400 Subject: [PATCH] Show since in settings table. Pack settings table. --- src/com/gitblit/wicket/panels/CommitHeaderPanel.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/com/gitblit/wicket/panels/CommitHeaderPanel.java b/src/com/gitblit/wicket/panels/CommitHeaderPanel.java index 1a6580d..1f6ae56 100644 --- a/src/com/gitblit/wicket/panels/CommitHeaderPanel.java +++ b/src/com/gitblit/wicket/panels/CommitHeaderPanel.java @@ -25,6 +25,14 @@ private static final long serialVersionUID = 1L; + public CommitHeaderPanel(String id, String title) { + super(id); + add(new Label("shortmessage", title)); + add(new Label("commitid")); + add(new Label("author")); + add(new Label("date")); + } + public CommitHeaderPanel(String id, String repositoryName, RevCommit c) { super(id); add(new LinkPanel("shortmessage", "title", c.getShortMessage(), CommitPage.class, -- Gitblit v1.9.1