From be025da36267320d50d77a78319af1044b7f47d8 Mon Sep 17 00:00:00 2001 From: Mark Striemer Date: Tue, 8 Oct 2019 16:27:43 +0000 Subject: [PATCH] Bug 1580962 - Show a SUMO link when an add-on can't be removed r=rpl,fluent-reviewers,flod Differential Revision: https://phabricator.services.mozilla.com/D48128 --HG-- extra : moz-landing-system : lando --- .../en-US/toolkit/about/aboutAddons.ftl | 2 + .../extensions/content/aboutaddons.html | 2 +- .../mozapps/extensions/content/aboutaddons.js | 92 +++++++++++++------ .../mozapps/extensions/content/panel-item.css | 9 ++ .../test/browser/browser_html_list_view.js | 57 +++++++++++- 5 files changed, 131 insertions(+), 31 deletions(-) diff --git a/toolkit/locales/en-US/toolkit/about/aboutAddons.ftl b/toolkit/locales/en-US/toolkit/about/aboutAddons.ftl index 8787dbde441f..00660774a5a9 100644 --- a/toolkit/locales/en-US/toolkit/about/aboutAddons.ftl +++ b/toolkit/locales/en-US/toolkit/about/aboutAddons.ftl @@ -393,6 +393,8 @@ addon-options-button = ## Add-on actions report-addon-button = Report remove-addon-button = Remove +# The link will always be shown after the other text. +remove-addon-disabled-button = Can’t Be Removed Why? disable-addon-button = Disable enable-addon-button = Enable preferences-addon-button = diff --git a/toolkit/mozapps/extensions/content/aboutaddons.html b/toolkit/mozapps/extensions/content/aboutaddons.html index ee923dff714a..5a20cbaab198 100644 --- a/toolkit/mozapps/extensions/content/aboutaddons.html +++ b/toolkit/mozapps/extensions/content/aboutaddons.html @@ -235,7 +235,7 @@