Merge pull request from mewtaylor/issue/usernames-search

[Develop] GH-710: only show username in search and explore
This commit is contained in:
Matthew Taylor 2016-07-11 20:21:58 -04:00 committed by GitHub
commit 6fd1d08d56
3 changed files with 7 additions and 7 deletions
src
components/grid
views

View file

@ -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}

View file

@ -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>

View file

@ -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>