1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 00:28:00 +02:00

reveal name on shortlist in list

This commit is contained in:
diminator 2015-08-26 16:55:12 +02:00
parent c64aae332d
commit 19c882f3b4

View File

@ -170,9 +170,9 @@ let AccordionListItemPrize = React.createClass({
}, },
render() { render() {
let artistName = this.state.currentUser.is_jury ? let artistName = ((this.state.currentUser.is_jury && !this.state.currentUser.is_judge) ||
<span className="glyphicon glyphicon-eye-close" style={{fontSize: '0.75em'}} aria-hidden="true"/> : (this.state.currentUser.is_judge && !this.props.content.selected )) ?
this.props.content.artist_name; <span className="glyphicon glyphicon-eye-close" aria-hidden="true"/> : this.props.content.artist_name;
return ( return (
<div> <div>
<AccordionListItemPiece <AccordionListItemPiece