Files
gerrit/polygerrit-ui/app/elements/core/gr-main-header
Patrick Hiesel a2ff0963bf Add an extension point to show a small banner next to the search bar
A plugin or a site theme (gerrit-theme.html) may register a custom
Element to be inserted into this endpoint.

``` js
Gerrit.install(plugin => {
  plugin.registerCustomComponent(
      'header-small-banner', 'gt-header-small-banner', {replace: true});
});
```

``` html
<dom-module id="gt-header-small-banner">
  <template>
    <a href="http://somecode.com/">Bug Tracker</a>
  </template>
  <script>
    Polymer({is: 'gt-header-small-banner'});
  </script>
</dom-module>
````

Change-Id: Ib42550271bae27089978c5cbd81642361acdaaa2
(cherry picked from commit 09fa976ebc)
2019-07-25 22:14:02 +00:00
..