Update view.html
Cette révision appartient à :
Parent
58a20a7cfe
révision
5a9d1673ce
1 fichiers modifiés avec 2 ajouts et 2 suppressions
|
@ -72,7 +72,7 @@
|
|||
{{ if HasAdmin $.User}}
|
||||
<a href="{{ genRoute "mod_tdelete" }}?id={{ .ID }}" class="form-input" onclick="if (!confirm('{{ call $.T "are_you_sure" }}')) return false;">{{ call $.T "delete" }}</a>
|
||||
<a href="{{ genRoute "mod_tedit" }}?id={{ .ID }}" class="form-input">{{ call $.T "edit" }}</a>
|
||||
{{ if CurrentUserIdentical $.User .UploaderID }}
|
||||
{{ else if CurrentUserIdentical $.User .UploaderID }}
|
||||
<a href="{{ genRoute "user_torrent_delete" }}?id={{ .ID }}" class="form-input" onclick="if (!confirm('{{ call $.T "are_you_sure" }}')) return false;">{{ call $.T "delete" }}</a>
|
||||
<a href="{{ genRoute "user_torrent_edit" }}?id={{ .ID }}" class="form-input">{{ call $.T "edit" }}</a>
|
||||
{{end}}
|
||||
|
@ -166,4 +166,4 @@
|
|||
button: "#reportPopup"
|
||||
});
|
||||
</script>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
|
Référencer dans un nouveau ticket