Add uploader to change screen if different from change owner

Unlike owner, this widget is not a link, because we have no
corresponding 'uploader:' search operator, and going to a search for
'owner:<uploader>' may be confusing because the change you just came
from is not in the result list.

Change-Id: I0752b045d99945d7be0c3f0536d958fa7c5bbd98
This commit is contained in:
Dave Borowitz
2015-10-12 14:09:04 -04:00
parent b729d3e82b
commit fee8d282dd
3 changed files with 45 additions and 8 deletions

View File

@@ -296,6 +296,7 @@ public class ChangeInfo extends JavaScriptObject {
public final native int _number() /*-{ return this._number; }-*/;
public final native String name() /*-{ return this.name; }-*/;
public final native boolean draft() /*-{ return this.draft || false; }-*/;
public final native AccountInfo uploader() /*-{ return this.uploader; }-*/;
public final native boolean isEdit() /*-{ return this._number == 0; }-*/;
public final native CommitInfo commit() /*-{ return this.commit; }-*/;
public final native void setCommit(CommitInfo c) /*-{ this.commit = c; }-*/;