Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Fix modpanel offering to delete Renchon °Д°

Cette révision appartient à :
sfan5 2017-06-06 16:54:05 +02:00
Parent 964cff7df6
révision 2ee85d3ec5

Voir le fichier

@ -66,7 +66,9 @@
{{range .Users}}
<tr>
<td class="tr-name home-td"><a href="{{ genRoute "user_profile" "id" (print .ID) "username" .Username }}?edit">{{ .Username }}</a></td>
<td class="tr-size home-td"><a href="{{ genRoute "user_profile" "id" (print .ID) "username" .Username }}?delete" class="form-input btn-red" onclick="if (!confirm('{{ call $.T "are_you_sure" }}')) return false;"><i class="trash-icon"></i> {{ call $.T "delete" }}</a></td>
<td class="tr-size home-td">{{if gt .ID 0}}
<a href="{{ genRoute "user_profile" "id" (print .ID) "username" .Username }}?delete" class="form-input btn-red" onclick="if (!confirm('{{ call $.T "are_you_sure" }}')) return false;"><i class="trash-icon"></i> {{ call $.T "delete" }}</a>
{{end}}</td>
</tr>
{{end}}
</tbody>