Files
gerrit/polygerrit-ui/app/elements/core/gr-main-header
Viktar Donich f3407cfb98 Add an extension point for Source Browser link
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-browse-source', 'gt-header-source', {replace: true});
});
```

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

Feature: Issue 7120
Change-Id: Ib4b133de755c16ae32e464e7c4352310f29ef5b0
2017-09-06 17:13:53 +00:00
..
2017-08-12 11:49:52 -07:00