mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-25 12:20:24 -04:00
Merge pull request #720 from mewtaylor/issue/usernames-search
[Develop] GH-710: only show username in search and explore
This commit is contained in:
commit
6fd1d08d56
3 changed files with 7 additions and 7 deletions
src
|
@ -40,7 +40,7 @@ var Grid = React.createClass({
|
|||
href={href}
|
||||
title={item.title}
|
||||
src={item.image}
|
||||
creator={item.creator}
|
||||
creator={item.author.username}
|
||||
loves={item.stats.loves}
|
||||
favorites={item.stats.favorites}
|
||||
remixes={item.stats.remixes}
|
||||
|
|
|
@ -130,9 +130,9 @@ var Explore = injectIntl(React.createClass({
|
|||
<div id='projectBox' key='projectBox'>
|
||||
<Grid items={this.state.loaded}
|
||||
itemType={this.props.itemType}
|
||||
showLoves={true}
|
||||
showFavorites={true}
|
||||
showViews={true} />
|
||||
showLoves={false}
|
||||
showFavorites={false}
|
||||
showViews={false} />
|
||||
<SubNavigation className='load'>
|
||||
<button onClick={this.getExploreMore}>
|
||||
<li>
|
||||
|
|
|
@ -103,9 +103,9 @@ var Search = injectIntl(React.createClass({
|
|||
<div id='projectBox' key='projectBox'>
|
||||
<Grid items={this.state.loaded}
|
||||
itemType={this.props.tab}
|
||||
showLoves={true}
|
||||
showFavorites={true}
|
||||
showViews={true} />
|
||||
showLoves={false}
|
||||
showFavorites={false}
|
||||
showViews={false} />
|
||||
<SubNavigation className='load'>
|
||||
<button onClick={this.getSearchMore}>
|
||||
<li>
|
||||
|
|
Loading…
Add table
Reference in a new issue