Merge changes from topic 'bot-comments-ui-gh16'

* changes:
  Hide "HideBotComments" if no bot comment is present in the history tab
  Add show / hide bot comments button to ChangeScreen
This commit is contained in:
Dave Borowitz
2016-09-22 08:06:40 +00:00
committed by Gerrit Code Review
3 changed files with 49 additions and 1 deletions

View File

@@ -458,7 +458,8 @@ public class ChangeInfo extends JavaScriptObject {
public final native AccountInfo author() /*-{ return this.author; }-*/;
public final native String message() /*-{ return this.message; }-*/;
public final native int _revisionNumber() /*-{ return this._revision_number || 0; }-*/;
private native String dateRaw() /*-{ return this.date; }-*/;
public final native String tag() /*-{ return this.tag; }-*/;
private final native String dateRaw() /*-{ return this.date; }-*/;
public final Timestamp date() {
return JavaSqlTimestamp_JsonSerializer.parseTimestamp(dateRaw());