Show beta testing icon and help message for widgets tile.

This commit is contained in:
Richard Lewis 2017-07-14 23:31:57 +01:00
parent ee5117525c
commit 6aa0f68ee9

View file

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