Add "about" to help menu

This commit is contained in:
Saúl Ibarra Corretgé 2018-06-24 08:32:47 +02:00 committed by Hristo Terezov
parent c3d5c8e609
commit d3c77c847a
2 changed files with 13 additions and 2 deletions

View File

@ -1,5 +1,10 @@
export default {
/**
* The URL with extra information about the app / service.
*/
aboutURL: 'https://jitsi.org/what-is-jitsi/',
/**
* Application name.
*/
@ -16,12 +21,12 @@ export default {
feedbackURL: 'mailto:support@jitsi.org',
/**
* The url of Privacy Policy Page.
* The URL of Privacy Policy Page.
*/
privacyPolicyURL: 'https://jitsi.org/meet/privacy',
/**
* The url of Terms and Conditions Page.
* The URL of Terms and Conditions Page.
*/
termsAndConditionsURL: 'https://jitsi.org/meet/terms'
};

View File

@ -32,12 +32,15 @@ export default class HelpButton extends Component< *, State> {
droplistOpen: false
};
this._onAbout = openExternalLink.bind(undefined, config.aboutURL);
this._onIconClick = this._onIconClick.bind(this);
this._onPrivacyOptionClick = this._onPrivacyOptionClick.bind(this);
this._onTermsOptionClick = this._onTermsOptionClick.bind(this);
this._onSendFeedback = this._onSendFeedback.bind(this);
}
_onAbout: (*) => void;
_onIconClick: (*) => void;
/**
@ -107,6 +110,9 @@ export default class HelpButton extends Component< *, State> {
<Item onActivate = { this._onSendFeedback }>
Send Feedback
</Item>
<Item onActivate = { this._onAbout }>
About
</Item>
</Group>
</Droplist>
);