ChangeScreen2: Add change_plugins element

Like change_actions define change_plugins as an element identifed by
id for plugins to install their own DOM nodes into.

A plugin rendering build status information from a could listen for
view updates with Gerit.on("showchange", f) to capture the ChangeInfo
and RevisionInfo being presented, query the build server, and add that
data into the DOM node.

Change-Id: Ie1cfb6bc25292d9f54b0db8f565a0bb4079d713d
This commit is contained in:
Shawn Pearce
2013-11-29 21:04:52 -08:00
parent a48826eb20
commit 295b9a023c

View File

@@ -441,6 +441,7 @@ limitations under the License.
</table> </table>
<hr/> <hr/>
<c:Labels ui:field='labels' styleName='{style.labels}'/> <c:Labels ui:field='labels' styleName='{style.labels}'/>
<div id='change_plugins'/>
</td> </td>
<td class='{style.relatedColumn}'> <td class='{style.relatedColumn}'>
<c:RelatedChanges ui:field='related'/> <c:RelatedChanges ui:field='related'/>