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
diff --git a/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header.html b/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header.html
index babf886..37cb317 100644
--- a/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header.html
+++ b/polygerrit-ui/app/elements/core/gr-main-header/gr-main-header.html
@@ -195,6 +195,9 @@
</template>
</ul>
<div class="rightItems">
+ <gr-endpoint-decorator
+ class="hideOnMobile"
+ name="header-small-banner"></gr-endpoint-decorator>
<gr-smart-search
id="search"
search-query="{{searchQuery}}"></gr-smart-search>