mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -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 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({
|
||||||
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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue