Fix torrent deletion from report list (#1705)
* Update torrent_report.jet.html * change of color for "delete report" button
Cette révision appartient à :
Parent
1809f7437c
révision
30570e2fb9
1 fichiers modifiés avec 2 ajouts et 2 suppressions
|
@ -25,12 +25,12 @@
|
|||
<td class="td-report-message home-td">{{.Message}}</td>
|
||||
<td class="tr-actions home-td">
|
||||
<form method="POST" action="/mod/torrent/delete">
|
||||
<input type="hidden" name="id" value="{{ .Torrent }}">
|
||||
<input type="hidden" name="id" value="{{ .Torrent.ID }}">
|
||||
<button type="submit" class="form-input btn-red" onclick="if (!confirm('{{ T("are_you_sure") }}')) return false;"><i class="icon-trash"></i> {{ T("delete_torrent") }}</button>
|
||||
</form>
|
||||
<form method="POST" action="/mod/report/delete">
|
||||
<input type="hidden" name="id" value="{{ .ID }}">
|
||||
<button type="submit" class="form-input btn-red"><i class="icon-attention"></i> {{ T("delete_report") }}</button>
|
||||
<button type="submit" class="form-input btn-blue"><i class="icon-attention"></i> {{ T("delete_report") }}</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Référencer dans un nouveau ticket