Merge "Add warning about removal of Update Change Dialog"
diff --git a/polygerrit-ui/app/elements/change/gr-upload-help-dialog/gr-upload-help-dialog_html.ts b/polygerrit-ui/app/elements/change/gr-upload-help-dialog/gr-upload-help-dialog_html.ts
index d633de5..9c27864 100644
--- a/polygerrit-ui/app/elements/change/gr-upload-help-dialog/gr-upload-help-dialog_html.ts
+++ b/polygerrit-ui/app/elements/change/gr-upload-help-dialog/gr-upload-help-dialog_html.ts
@@ -32,10 +32,24 @@
p {
margin-bottom: var(--spacing-m);
}
+ .warning {
+ color: var(--warning-foreground);
+ }
</style>
<gr-dialog confirm-label="Done" cancel-label="" on-confirm="_handleCloseTap">
- <div class="header" slot="header">How to update this change:</div>
+ <div class="header" slot="header">
+ How to update this change:
+ </div>
<div class="main" slot="main">
+ <iron-icon
+ icon="gr-icons:warning"
+ class="warningBeforeSubmit"
+ ></iron-icon>
+ <span class="warning"
+ >The Update Change button will be removed from Gerrit in 2 weeks. You
+ can find the checkout command in the Download Dialog(keyboard shortcut:
+ d). We recommend making an alias for the other commands.
+ </span>
<ol>
<li>
<p>