James Moger
2012-02-19 bd01eebfa57b4012bc7a7abc1aaaa1b69278b9de
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);