diff options
author | 2018-01-30 12:56:12 +0100 | |
---|---|---|
committer | 2018-01-30 12:56:12 +0100 | |
commit | a72b209c304d0eeb19604de775c12721e90d67e9 (patch) | |
tree | f0a41c9f5162ea9f44551ed9864cd09c562b4527 /src/components/settings/navigation | |
parent | Merge branch 'fix-invite-screen' into feature/invite-button (diff) | |
download | ferdium-app-a72b209c304d0eeb19604de775c12721e90d67e9.tar.gz ferdium-app-a72b209c304d0eeb19604de775c12721e90d67e9.tar.zst ferdium-app-a72b209c304d0eeb19604de775c12721e90d67e9.zip |
ADDED invite button on settings navigation
currently goes to `auth/signup/invite` route only
Diffstat (limited to 'src/components/settings/navigation')
-rw-r--r-- | src/components/settings/navigation/SettingsNavigation.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/settings/navigation/SettingsNavigation.js b/src/components/settings/navigation/SettingsNavigation.js index fea8d682d..3b4ada768 100644 --- a/src/components/settings/navigation/SettingsNavigation.js +++ b/src/components/settings/navigation/SettingsNavigation.js | |||
@@ -21,6 +21,10 @@ const messages = defineMessages({ | |||
21 | id: 'settings.navigation.settings', | 21 | id: 'settings.navigation.settings', |
22 | defaultMessage: '!!!Settings', | 22 | defaultMessage: '!!!Settings', |
23 | }, | 23 | }, |
24 | inviteFriends: { | ||
25 | id: 'settings.navigation.inviteFriends', | ||
26 | defaultMessage: '!!!Invite Friends', | ||
27 | }, | ||
24 | logout: { | 28 | logout: { |
25 | id: 'settings.navigation.logout', | 29 | id: 'settings.navigation.logout', |
26 | defaultMessage: '!!!Logout', | 30 | defaultMessage: '!!!Logout', |
@@ -70,6 +74,13 @@ export default class SettingsNavigation extends Component { | |||
70 | > | 74 | > |
71 | {intl.formatMessage(messages.settings)} | 75 | {intl.formatMessage(messages.settings)} |
72 | </Link> | 76 | </Link> |
77 | <Link | ||
78 | to="/auth/signup/invite" | ||
79 | className="settings-navigation__link" | ||
80 | activeClassName="is-active" | ||
81 | > | ||
82 | {intl.formatMessage(messages.inviteFriends)} | ||
83 | </Link> | ||
73 | <span className="settings-navigation__expander" /> | 84 | <span className="settings-navigation__expander" /> |
74 | <Link | 85 | <Link |
75 | to="/auth/logout" | 86 | to="/auth/logout" |