Fix modpanel offering to delete Renchon °Д°
Cette révision appartient à :
Parent
964cff7df6
révision
2ee85d3ec5
1 fichiers modifiés avec 3 ajouts et 1 suppressions
|
@ -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>
|
||||
|
|
Référencer dans un nouveau ticket