Adding subscription status data #181
Merged
Conversation
Contributor
zarembsky
commented
Sep 2, 2018
|
| <li className="s-tabs-title"> | ||
| <NavLink to="/subscription/trackerstats"> | ||
| <span>{ t('subscription_tracker_stats') }</span> | ||
| </NavLink> | ||
| </li> | ||
| */} |
app/panel/components/Subscribe.jsx
Outdated
| @@ -11,7 +11,7 @@ | |||
| * file, You can obtain one at http://mozilla.org/MPL/2.0 | |||
| */ | |||
| import React from 'react'; | |||
| import { Link } from 'react-router-dom'; | |||
| import { openSupporterPage } from '../utils/msg'; | |||
| @@ -74,7 +99,7 @@ class Subscription extends React.Component { | |||
| <Route path="/subscription/info" render={this.SubscriptionInfoComponent} /> | |||
| <Route path="/subscription/themes" render={this.SubscriptionThemesComponent} /> | |||
| <Route path="/subscription/prioritysupport" render={this.PrioritySupportComponent} /> | |||
| <Route path="/subscription/trackerstats" render={this.TrackerStatsComponent} /> | |||
| {/* <Route path="/subscription/trackerstats" render={this.TrackerStatsComponent} /> */} | |||
|
@zarembsky and let's get rid of the localization of links (the web server can take care of that). |
src/background.js
Outdated
| if (conf.account && conf.account.user) { | ||
| if (conf.account.user.subscriptionsSupporter) { | ||
| tabUrl = `https://account.${globals.GHOSTERY_DOMAIN}.com/${langToken}/subscription`; | ||
| tabUrl = `https://account.${globals.GHOSTERY_DOMAIN}.com/en/subscription`; |
| }; | ||
| } | ||
| return { loading: true }; | ||
| } |
jsignanini
Sep 10, 2018
Member
@zarembsky we don't need to localize the currency since we're only taking USD for the time being, please remove it.
@zarembsky we don't need to localize the currency since we're only taking USD for the time being, please remove it.
zarembsky
Sep 10, 2018
Author
Contributor
Implemented
Implemented
jsignanini
added a commit
that referenced
this pull request
Nov 20, 2018
jsignanini
added a commit
that referenced
this pull request
Nov 20, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.