require('./lockNotification.less'); const React = require('react'); const createClass = require('create-react-class'); const LockNotification = createClass({ displayName : 'LockNotification', getDefaultProps : function() { return { shareId : 0 }; }, getInitialState : function() { return { disableLock : ()=>{} }; }, removeLock : function() { alert(`Not yet implemented - ID ${this.props.shareId}`); }, render : function(){ return
This brew been locked by the Administrators. It will not be accessible by any method other than the Editor until the lock is removed.
{this.props.message || 'Unable to retrieve Lock Message'}
Once you have resolved this issue, click REQUEST LOCK REMOVAL to notify the Administrators for review.
Click CONTINUE TO EDITOR to temporarily hide this notification; it will reappear the next time the page is reloaded.