Add report torrent button. Fixes #7

This commit is contained in:
Dessalines 2018-10-24 11:27:36 -07:00
parent c29f7959ed
commit ecaf4d1014
1 changed files with 4 additions and 1 deletions

View File

@ -101,7 +101,10 @@ class TorrentSearchComponent extends Component<any, State> {
</td>
<td class="text-right">
<a href={magnetLink(torrent.infohash)}>
<i class="fas fa-magnet"></i>
<i title="magnet link" class="fas fa-fw fa-magnet mr-2"></i>
</a>
<a href={`https://gitlab.com/dessalines/torrents.csv/issues/new?issue[assignee_id]=&issue[milestone_id]=&issue[title]=Report%20Torrent%20infohash%20${torrent.infohash}`}>
<i title="Report torrent" class="fas fa-fw fa-flag"></i>
</a>
</td>
</tr>