Add version number and links to footer
It looks now a bit more like the GWT web UI footer. Change-Id: I09c710d286b58c790aeb2e5a8d5c250d02e01c40
This commit is contained in:
parent
b58f8f9b2d
commit
9231301e82
@ -86,6 +86,7 @@ limitations under the License.
|
||||
</style>
|
||||
<gr-ajax auto url="/accounts/self/detail" last-response="{{account}}"></gr-ajax>
|
||||
<gr-ajax auto url="/config/server/info" last-response="{{config}}"></gr-ajax>
|
||||
<gr-ajax auto url="/config/server/version" last-response="{{version}}"></gr-ajax>
|
||||
<header role="banner">
|
||||
<a href="/" class="bigTitle">PolyGerrit</a>
|
||||
<div class="headerRightItems">
|
||||
@ -110,7 +111,21 @@ limitations under the License.
|
||||
<gr-diff-view params="[[params]]"></gr-diff-view>
|
||||
</template>
|
||||
</main>
|
||||
<footer role="contentinfo">Powered by PolyGerrit</footer>
|
||||
<footer role="contentinfo">
|
||||
Powered by <a href="https://www.gerritcodereview.com/" target="_blank">Gerrit Code Review</a>
|
||||
(<span>[[version]]</span>)
|
||||
<span hidden$="[[!config.gerrit.report_bug_url]]">
|
||||
|
|
||||
<a href$="[[config.gerrit.report_bug_url]]" target="_blank">
|
||||
<span hidden$="[[!config.gerrit.report_bug_text]]">
|
||||
[[config.gerrit.report_bug_text]]
|
||||
</span>
|
||||
<span hidden$="[[config.gerrit.report_bug_text]]">
|
||||
Report Bug
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
</footer>
|
||||
</template>
|
||||
<script>
|
||||
(function() {
|
||||
@ -148,6 +163,7 @@ limitations under the License.
|
||||
}.bind(this));
|
||||
},
|
||||
},
|
||||
version: String,
|
||||
constrained: {
|
||||
type: Boolean,
|
||||
value: false,
|
||||
|
Loading…
Reference in New Issue
Block a user