{{ $absURL := .Config.AbsoluteURL }} {{.Name}} {{- if ne .User.StyleSheet "" -}} {{- end -}} {{- if .IsDir }} {{- else }} {{- end }}

File Manager

exit_to_app
{{ if ne .Name "/"}} keyboard_arrow_right {{ end }}

{{ if ne .Name "/"}}{{ .Name }}{{ else }}Root{{ end }}

open_in_new
{{ if and .IsDir .User.AllowEdit }}
mode_edit
{{ end }} {{ if .User.AllowEdit }}
delete Delete
{{ end }}
{{ if and (.User.AllowNew) (.IsDir) }}
file_upload Upload
{{ end }}
file_download Download {{ if .IsDir }} {{ end }}
{{ if .IsDir }}
{{ if eq .Display "mosaic" }} view_list {{ else }} view_module {{ end }}
{{ end }}
{{ template "content" . }} {{ if and (.User.AllowNew) (.IsDir) }}
add
{{ end }}