feat(rutor): visual gui display
This commit is contained in:
BIN
src/app/images/strategies/rutor.png
Normal file
BIN
src/app/images/strategies/rutor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
@ -2,6 +2,7 @@ import React from 'react';
|
||||
|
||||
import RutrackerIcon from './images/strategies/rutracker.png'
|
||||
import NyaaIcon from './images/strategies/nyaa.jpg'
|
||||
import RutorIcon from './images/strategies/rutor.png'
|
||||
|
||||
export default (props) => {
|
||||
let className = ''
|
||||
@ -26,6 +27,11 @@ export default (props) => {
|
||||
&&
|
||||
<img src={NyaaIcon} style={{height: 32}} />
|
||||
}
|
||||
{
|
||||
info.trackers.includes('rutor')
|
||||
&&
|
||||
<a href={`http://www.rutor.is/torrent/${info.rutorThreadId}`}><img src={RutorIcon} style={{height: 32}} /></a>
|
||||
}
|
||||
</div>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user