PolyGerrit: Move Rights Inherit From to the top instead of at the bottom
Change-Id: Ifb09aa6630f0c470fe2f8c494057fec99df714c7
diff --git a/polygerrit-ui/app/elements/admin/gr-project-access/gr-project-access.html b/polygerrit-ui/app/elements/admin/gr-project-access/gr-project-access.html
index 686aa10..7b23506 100644
--- a/polygerrit-ui/app/elements/admin/gr-project-access/gr-project-access.html
+++ b/polygerrit-ui/app/elements/admin/gr-project-access/gr-project-access.html
@@ -32,6 +32,12 @@
<style include="shared-styles"></style>
<style include="gr-menu-page-styles"></style>
<main>
+ <template is="dom-if" if="[[_inheritsFrom]]">
+ <h3 id="inheritsFrom">Rights Inherit From
+ <a href$="[[_computeParentHref(_inheritsFrom.name)]]" rel="noopener">
+ [[_inheritsFrom.name]]</a>
+ </h3>
+ </template>
<template
is="dom-repeat"
items="{{_sections}}"
@@ -43,12 +49,6 @@
editing="[[_editing]]"
groups="[[_groups]]"></gr-access-section>
</template>
- <template is="dom-if" if="[[_inheritsFrom]]">
- <h3 id="inheritsFrom">Rights Inherit From
- <a href$="[[_computeParentHref(_inheritsFrom.name)]]" rel="noopener">
- [[_inheritsFrom.name]]</a>
- </h3>
- </template>
</main>
<gr-rest-api-interface id="restAPI"></gr-rest-api-interface>
</template>