Changed Image to File since we preview files

Этот коммит содержится в:
nickago
2015-08-12 10:57:16 -07:00
родитель b50ba05626
Коммит d7c07d07d0

Просмотреть файл

@@ -256,7 +256,7 @@ module.exports = React.createClass({
<div className='modal-close' data-dismiss='modal'></div>
{content}
<div ref='imageFooter' className='modal-button-bar'>
<span className='pull-left text'>{'Image ' + (this.state.imgId + 1) + ' of ' + this.props.filenames.length}</span>
<span className='pull-left text'>{'File ' + (this.state.imgId + 1) + ' of ' + this.props.filenames.length}</span>
<div className='image-links'>
{publicLink}
<a href={fileUrl} download={name} className='text'>Download</a>