зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1414979 - Add fallbacks for pocket disclaimer in Activity Stream r=dmose
--HG-- extra : rebase_source : 95df68baf4b3589ff8ec9f312e3435dae43f0a44
This commit is contained in:
Родитель
7308e0e9fe
Коммит
7357a6d3c5
|
@ -34,7 +34,11 @@ const BUILT_IN_SECTIONS = {
|
|||
title: {id: "header_recommended_by", values: {provider: options.provider_name}},
|
||||
disclaimer: {
|
||||
text: {id: options.disclaimer_text || "section_disclaimer_topstories"},
|
||||
link: {href: options.disclaimer_link, id: options.disclaimer_linktext || "section_disclaimer_topstories_linktext"},
|
||||
link: {
|
||||
// The href fallback is temporary so users in existing Shield studies get this configuration as well
|
||||
href: options.disclaimer_link || "https://getpocket.cdn.mozilla.net/firefox/new_tab_learn_more",
|
||||
id: options.disclaimer_linktext || "section_disclaimer_topstories_linktext"
|
||||
},
|
||||
button: {id: options.disclaimer_buttontext || "section_disclaimer_topstories_buttontext"}
|
||||
},
|
||||
maxRows: 1,
|
||||
|
|
Загрузка…
Ссылка в новой задаче