Commit 6fd1d08d authored by Matthew Taylor's avatar Matthew Taylor Committed by GitHub

Merge pull request #720 from mewtaylor/issue/usernames-search

[Develop] GH-710: only show username in search and explore
parents ff67f7ba 27b5afdd
...@@ -40,7 +40,7 @@ var Grid = React.createClass({ ...@@ -40,7 +40,7 @@ var Grid = React.createClass({
href={href} href={href}
title={item.title} title={item.title}
src={item.image} src={item.image}
creator={item.creator} creator={item.author.username}
loves={item.stats.loves} loves={item.stats.loves}
favorites={item.stats.favorites} favorites={item.stats.favorites}
remixes={item.stats.remixes} remixes={item.stats.remixes}
......
...@@ -130,9 +130,9 @@ var Explore = injectIntl(React.createClass({ ...@@ -130,9 +130,9 @@ var Explore = injectIntl(React.createClass({
<div id='projectBox' key='projectBox'> <div id='projectBox' key='projectBox'>
<Grid items={this.state.loaded} <Grid items={this.state.loaded}
itemType={this.props.itemType} itemType={this.props.itemType}
showLoves={true} showLoves={false}
showFavorites={true} showFavorites={false}
showViews={true} /> showViews={false} />
<SubNavigation className='load'> <SubNavigation className='load'>
<button onClick={this.getExploreMore}> <button onClick={this.getExploreMore}>
<li> <li>
......
...@@ -103,9 +103,9 @@ var Search = injectIntl(React.createClass({ ...@@ -103,9 +103,9 @@ var Search = injectIntl(React.createClass({
<div id='projectBox' key='projectBox'> <div id='projectBox' key='projectBox'>
<Grid items={this.state.loaded} <Grid items={this.state.loaded}
itemType={this.props.tab} itemType={this.props.tab}
showLoves={true} showLoves={false}
showFavorites={true} showFavorites={false}
showViews={true} /> showViews={false} />
<SubNavigation className='load'> <SubNavigation className='load'>
<button onClick={this.getSearchMore}> <button onClick={this.getSearchMore}>
<li> <li>
......
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