-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add console button tooltip and document link when button disabled #1111
Conversation
Signed-off-by: andy.lee <andy.lee@suse.com>
Signed-off-by: andy.lee <andy.lee@suse.com>
3fe5913
to
56136ee
Compare
@@ -26,15 +31,14 @@ export default { | |||
<Banner color="warning"> | |||
<div> | |||
<strong>{{ t('harvester.upgradePage.upgradeInfo.warning') }}:</strong> | |||
<p v-clean-html="t('harvester.upgradePage.upgradeInfo.doc', {}, true)" class="mb-5"> | |||
</p> | |||
<p v-clean-html="t('harvester.upgradePage.upgradeInfo.doc', {url: upgradeLink}, true)" class="mb-5"></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
target="_blank"
is ignore when giving translation key via v-clean-html
. (not open link in new tab)
It's resolved in rancher but not harvester dashboard..
PR: rancher#9928
Signed-off-by: andy.lee <andy.lee@suse.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for creating the mapping file. We will need to update the links once the product docs are available on the SUSE doc site.
Please apply the suggested string change.
Signed-off-by: andy.lee <andy.lee@suse.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@mergify backport release-harvester-v1.4 |
✅ Backports have been created
|
Summary
doc-links.js
and auto construct the doc link with the harvester version in package.json.PR Checklist
Related Issue #
Screenshot/Video
console_url_tooltip.mov