polygerrit-ui: add a tooltip for 'Updated' metadata field

This lets us simplify the UI Documentation.

Change-Id: I803fe30813ba51a91e8e612c048286a7abd52bfa
This commit is contained in:
Han-Wen Nienhuys
2021-05-10 17:57:14 +02:00
parent 7bff1d2d60
commit 5437db0f89

View File

@@ -153,7 +153,14 @@ export const htmlTemplate = html`
<section
class$="[[_computeDisplayState(_showAllSections, change, _SECTION.UPDATED)]]"
>
<span class="title">Updated</span>
<span class="title">
<gr-tooltip-content
has-tooltip=""
title="Last update of (meta)data for this change."
>
Updated
</gr-tooltip-content>
</span>
<span class="value">
<gr-date-formatter
has-tooltip=""