{{ define "actions" }}
open_in_new See raw
{{ if and .IsDir .User.AllowEdit }}
mode_edit
{{ end }} {{ end }}
file_download Download {{ if .IsDir }} {{ end }}
{{ if .User.AllowEdit }}
delete Delete
{{ end }} {{ end }}