Merge pull request #1226 from matrix-org/rxl881/beta

Show beta testing icon and help message for widgets tile.
This commit is contained in:
Richard Lewis 2017-07-20 14:04:53 +01:00 committed by GitHub
commit 563f5f7bac

View file

@ -26,6 +26,7 @@ import { _t } from '../../../languageHandler';
import sdk from '../../../index';
const ALLOWED_APP_URL_SCHEMES = ['https:', 'http:'];
const betaHelpMsg = 'This feature is currently experimental and is intended for beta testing only';
export default React.createClass({
displayName: 'AppTile',
@ -157,6 +158,7 @@ export default React.createClass({
<div className="mx_AppTileMenuBar">
{this.formatAppTileName()}
<span className="mx_AppTileMenuBarWidgets">
<span className="mx_Beta" alt={betaHelpMsg} title={betaHelpMsg}>&#946;</span>
{/* Edit widget */}
{showEditButton && <img
src="img/edit.svg"