mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
more work on user avatar in thumbnail
This commit is contained in:
parent
432b621079
commit
55163d2c86
1 changed files with 1 additions and 5 deletions
|
@ -1,5 +1,4 @@
|
|||
var classNames = require('classnames');
|
||||
var FormattedMessage = require('react-intl').FormattedMessage;
|
||||
var React = require('react');
|
||||
|
||||
require('./thumbnail.scss');
|
||||
|
@ -44,10 +43,7 @@ var Thumbnail = React.createClass({
|
|||
if (this.props.creator) {
|
||||
extra.push(
|
||||
<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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue