зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1109325 - Change the help url for Hello's standalone rooms. r=nperriault
This commit is contained in:
Родитель
ea023df69a
Коммит
8e2e477789
|
@ -86,3 +86,4 @@ config:
|
|||
@echo "loop.config.fxosApp.manifestUrl = 'http://fake-market.herokuapp.com/apps/packagedApp/manifest.webapp';" >> content/config.js
|
||||
@echo "loop.config.roomsSupportUrl = 'https://support.mozilla.org/kb/group-conversations-firefox-hello-webrtc';" >> content/config.js
|
||||
@echo "loop.config.guestSupportUrl = 'https://support.mozilla.org/kb/respond-firefox-hello-invitation-guest-mode';" >> content/config.js
|
||||
@echo "loop.config.generalSupportUrl = 'https://support.mozilla.org/kb/respond-firefox-hello-invitation-guest-mode';" >> content/config.js
|
||||
|
|
|
@ -147,7 +147,7 @@ loop.standaloneRoomViews = (function(mozL10n) {
|
|||
return (
|
||||
React.DOM.header(null,
|
||||
React.DOM.h1(null, mozL10n.get("clientShortname2")),
|
||||
React.DOM.a({target: "_blank", href: loop.config.roomsSupportUrl},
|
||||
React.DOM.a({target: "_blank", href: loop.config.generalSupportUrl},
|
||||
React.DOM.i({className: "icon icon-help"})
|
||||
)
|
||||
)
|
||||
|
|
|
@ -147,7 +147,7 @@ loop.standaloneRoomViews = (function(mozL10n) {
|
|||
return (
|
||||
<header>
|
||||
<h1>{mozL10n.get("clientShortname2")}</h1>
|
||||
<a target="_blank" href={loop.config.roomsSupportUrl}>
|
||||
<a target="_blank" href={loop.config.generalSupportUrl}>
|
||||
<i className="icon icon-help"></i>
|
||||
</a>
|
||||
</header>
|
||||
|
|
|
@ -257,7 +257,7 @@ loop.webapp = (function($, _, OT, mozL10n) {
|
|||
{vendorShortname: mozL10n.get("vendorShortname")}),
|
||||
className: "footer-logo"}),
|
||||
React.DOM.div({className: "footer-external-links"},
|
||||
React.DOM.a({target: "_blank", href: loop.config.guestSupportUrl},
|
||||
React.DOM.a({target: "_blank", href: loop.config.generalSupportUrl},
|
||||
mozL10n.get("support_link")
|
||||
)
|
||||
)
|
||||
|
|
|
@ -257,7 +257,7 @@ loop.webapp = (function($, _, OT, mozL10n) {
|
|||
{vendorShortname: mozL10n.get("vendorShortname")})}
|
||||
className="footer-logo"></div>
|
||||
<div className="footer-external-links">
|
||||
<a target="_blank" href={loop.config.guestSupportUrl}>
|
||||
<a target="_blank" href={loop.config.generalSupportUrl}>
|
||||
{mozL10n.get("support_link")}
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -32,7 +32,8 @@ function getConfigFile(req, res) {
|
|||
"loop.config.fxosApp.name = 'Loop';",
|
||||
"loop.config.fxosApp.manifestUrl = 'http://fake-market.herokuapp.com/apps/packagedApp/manifest.webapp';",
|
||||
"loop.config.roomsSupportUrl = 'https://support.mozilla.org/kb/group-conversations-firefox-hello-webrtc';",
|
||||
"loop.config.guestSupportUrl = 'https://support.mozilla.org/kb/respond-firefox-hello-invitation-guest-mode';"
|
||||
"loop.config.guestSupportUrl = 'https://support.mozilla.org/kb/respond-firefox-hello-invitation-guest-mode';",
|
||||
"loop.config.generalSupportUrl = 'https://support.mozilla.org/kb/respond-firefox-hello-invitation-guest-mode';"
|
||||
].join("\n"));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче