 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 ###############################################################################
+
+###
+AUTHORS:
+
+  - William Stein
+  - Harald Schilly
+  - Simon Luu
+  - John Jeng
+###
 
 ###
 Chat message JSON format:

    show_history: ->
        #No history for mobile, since right now messages in mobile are too clunky
        if not IS_MOBILE
            <div className="pull-left small" style={color:'#888', marginLeft:'10px'} onClick={@enable_history}>
                <Icon name='history'/>
            </div>

    hide_history: ->
        #No history for mobile, since right now messages in mobile are too clunky
        if not IS_MOBILE
            <div className="pull-left small" style={color:'#888', marginLeft:'10px'} onClick={@disable_history}>
                <Icon name='history'/>
            </div>

    disable_history: ->


    render_preview_button_on: ->
        tip = <span>
            Currently off.  Click to turn on.
        </span>

        <Button ref='on' className='smc-big-only' onClick={@button_on_click}>
            <Tip title='Message Preview' tip={tip} placement='left'>
                <Icon name='toggle-off'/> Preview
            </Tip>
        </Button>

    render_preview_button_off: ->
        tip = <span>
            Currently on.  Click to turn off.
        </span>

        <Button ref='off' className='smc-big-only' onClick={@button_off_click}>
            <Tip title='Message Preview' tip={tip} placement='left'>
                <Icon name='toggle-on'/> Preview
            </Tip>
        </Button>

    render_timetravel_button: ->
        tip = <span>
            Browse all versions of this chatroom.
        </span>

        <Button onClick={@show_timetravel} bsStyle='info'>
            <Tip title='TimeTravel Button' tip={tip}  placement='left'>
                <Icon name='history'/> TimeTravel
            </Tip>
        </Button>

    render_bottom_button: ->
        tip = <span>
            Scrolls the chat to the bottom
        </span>

        <Button onClick={@scroll_to_bottom}>
            <Tip title='Scroll to Bottom Button' tip={tip}  placement='left'>
                <Icon name='arrow-down'/> Bottom
            </Tip>
        </Button>
