18 lines
477 B
CoffeeScript
18 lines
477 B
CoffeeScript
context = window
|
|
RecordingActions = @RecordingActions
|
|
|
|
@SessionFilesBtn = React.createClass({
|
|
|
|
|
|
getInitialState: () ->
|
|
{}
|
|
|
|
openLessonChat: () ->
|
|
this.props.app.layout.showDialog('chat-dialog', {d1: 'lesson_' + this.props.lessonId})
|
|
|
|
render: () ->
|
|
`<a className="session-record button-grey left" onClick={this.openLessonChat.bind(this)}>
|
|
<img src="/assets/content/icon_open_folder.png" align="texttop" height="14" width="14"/>
|
|
FILES
|
|
</a>`
|
|
}) |