ссылка на именовании

This commit is contained in:
Alexey Kasyanchuk
2017-01-22 22:04:39 +03:00
parent b8430a036b
commit e2611706b5

View File

@ -10,10 +10,23 @@ return (
<div>
<ListItem
onClick={() => window.router('/torrent/' + torrent.hash)}
primaryText={<span className='break-word' style={{
primaryText={
<a href={'/torrent/' + torrent.hash} ref={(node) => {
if(node)
node.onclick = () => { return false }
}}>
<span className='break-word' style={{
color: torrent.contentCategory != 'xxx' ? 'black' : 'grey'
}}>{torrent.name}</span>}
}}>
{torrent.name}
</span>
</a>
}
secondaryText={
<a href={'/torrent/' + torrent.hash} ref={(node) => {
if(node)
node.onclick = () => { return false }
}}>
<div className='column' style={{height: 'auto', whiteSpace: 'normal'}}>
<div>
{
@ -39,6 +52,7 @@ return (
null
}
</div>
</a>
}
leftIcon={
(() => {