From bd01eebfa57b4012bc7a7abc1aaaa1b69278b9de Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Sun, 19 Feb 2012 15:38:50 -0500
Subject: [PATCH] Merged issues/lucene branch

---
 src/com/gitblit/wicket/WicketUtils.java |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/com/gitblit/wicket/WicketUtils.java b/src/com/gitblit/wicket/WicketUtils.java
index dbeb47f..8c1cf3c 100644
--- a/src/com/gitblit/wicket/WicketUtils.java
+++ b/src/com/gitblit/wicket/WicketUtils.java
@@ -95,11 +95,11 @@
 	public static void setTicketCssClass(Component container, String state) {
 		String css = null;
 		if (state.equals("open")) {
-			css = "label important";
+			css = "label label-important";
 		} else if (state.equals("hold")) {
-			css = "label warning";
+			css = "label label-warning";
 		} else if (state.equals("resolved")) {
-			css = "label success";
+			css = "label label-success";
 		} else if (state.equals("invalid")) {
 			css = "label";
 		}
@@ -369,8 +369,16 @@
 		return params.getInt("pg", 1);
 	}
 
+	public static String getRegEx(PageParameters params) {
+		return params.getString("x", "");
+	}
+
 	public static String getSet(PageParameters params) {
 		return params.getString("set", "");
+	}
+
+	public static String getTeam(PageParameters params) {
+		return params.getString("team", "");
 	}
 
 	public static int getDaysBack(PageParameters params) {
@@ -484,7 +492,7 @@
 
 	public static Label createTimestampLabel(String wicketId, Date date, TimeZone timeZone) {
 		String format = GitBlit.getString(Keys.web.datetimestampLongFormat,
-				"EEEE, MMMM d, yyyy h:mm a z");
+				"EEEE, MMMM d, yyyy HH:mm Z");
 		DateFormat df = new SimpleDateFormat(format);
 		if (timeZone != null) {
 			df.setTimeZone(timeZone);

--
Gitblit v1.9.1