Files
gerrit/polygerrit-ui/app/elements/shared/gr-tooltip-content/gr-tooltip-content.html
Wyatt Allen b1c18a2191 Show indicator when change parent is out of date
If the parent of the commit is no longer the tip of the target branch,
it becomes possible to rebase the change on that branch. With this
change, the change metadata section shows an out of date indicator next
to the abbreviated parent hash.

The indicator is only shown on non-merge changes for authenticated
users.

Bug: Issue 4655
Change-Id: I6cb4d280352bb37214b853760c6723597690010a
2018-01-12 10:05:18 -08:00

32 lines
1.0 KiB
HTML

<!--
Copyright (C) 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<link rel="import" href="../../../bower_components/polymer/polymer.html">
<link rel="import" href="../../../behaviors/gr-tooltip-behavior/gr-tooltip-behavior.html">
<dom-module id="gr-tooltip-content">
<template>
<style>
.arrow {
color: var(--arrow-color);
}
</style>
<slot></slot><!--
--><span class="arrow" hidden$="[[!showIcon]]">&#9432;</span>
</template>
<script src="gr-tooltip-content.js"></script>
</dom-module>