Commit 55163d2c authored by Technoboy10's avatar Technoboy10

more work on user avatar in thumbnail

parent 432b6210
var classNames = require('classnames'); var classNames = require('classnames');
var FormattedMessage = require('react-intl').FormattedMessage;
var React = require('react'); var React = require('react');
require('./thumbnail.scss'); require('./thumbnail.scss');
...@@ -44,10 +43,7 @@ var Thumbnail = React.createClass({ ...@@ -44,10 +43,7 @@ var Thumbnail = React.createClass({
if (this.props.creator) { if (this.props.creator) {
extra.push( extra.push(
<div key="creator" className="thumbnail-creator"> <div key="creator" className="thumbnail-creator">
<FormattedMessage id={'thumbnail.by'} />{' '} <a href={'/users/' + this.props.creator + '/'}>{this.props.creator}</a>
<a href={'/users/' + this.props.creator + '/'}>
{this.props.creator}
</a>
</div> </div>
); );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment