Fix wrong user edit links in modpanel
Cette révision appartient à :
Parent
dac4b5baf5
révision
056d579f82
2 fichiers modifiés avec 2 ajouts et 2 suppressions
|
@ -65,7 +65,7 @@
|
|||
<tbody>
|
||||
{{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-name home-td"><a href="{{ genRoute "user_profile_details" "id" (print .ID) "username" .Username }}">{{ .Username }}</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>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<tbody>
|
||||
{{ range .Models}}
|
||||
<tr>
|
||||
<td class="tr-name home-td"><a href="{{ genRoute "user_profile" "id" (print .ID) "username" .Username }}?edit">{{ .Username }}</a></td>
|
||||
<td class="tr-name home-td"><a href="{{ genRoute "user_profile_details" "id" (print .ID) "username" .Username }}">{{ .Username }}</a></td>
|
||||
<td class="tr-actions 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}}
|
||||
|
|
Référencer dans un nouveau ticket