diff options
author | nickago <ngonella@calpoly.edu> | 2015-08-20 17:02:47 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-08-21 08:09:02 -0700 |
commit | aaa0bb9d4dcaca0212a7bf1a7dc3dbd9b78fb6c5 (patch) | |
tree | fa794598d2e9cb84d2aae2a134625cb26c9dbb15 /web/react/components | |
parent | ddcdcc3e2c85efbfd1d91d69c0f5c0af7c7cb1c7 (diff) | |
download | chat-aaa0bb9d4dcaca0212a7bf1a7dc3dbd9b78fb6c5.tar.gz chat-aaa0bb9d4dcaca0212a7bf1a7dc3dbd9b78fb6c5.tar.bz2 chat-aaa0bb9d4dcaca0212a7bf1a7dc3dbd9b78fb6c5.zip |
Added help text to profile picture screen
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/setting_picture.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/react/components/setting_picture.jsx b/web/react/components/setting_picture.jsx index e97b67706..5b12ad7e9 100644 --- a/web/react/components/setting_picture.jsx +++ b/web/react/components/setting_picture.jsx @@ -48,6 +48,7 @@ module.exports = React.createClass({ } confirmButton = <a className={confirmButtonClass} onClick={this.props.submit}>Save</a>; } + var helpText = 'Upload a profile picture in either JPG or PNG format, at least ' + config.ProfileWidth + 'px in width and ' + config.ProfileHeight + 'px height.' var self = this; return ( @@ -59,6 +60,9 @@ module.exports = React.createClass({ {img} </li> <li className='setting-list-item'> + {helpText} + </li> + <li className='setting-list-item'> {serverError} {clientError} <span className='btn btn-sm btn-primary btn-file sel-btn'>Select<input ref='input' accept='.jpg,.png,.bmp' type='file' onChange={this.props.pictureChange}/></span> |