{{ define "right-side-actions" }}
{{ template "info-button" }}
{{ end }}
{{ define "right" }}
{{- if not .IsEditor }}
{{- if eq .Display "mosaic" }}view_list{{ else }}view_module{{ end }}Switch view
{{- end }}
{{- if and (.User.AllowNew) (not .IsEditor) }}
{{- end }}
{{ end }}
{{ define "left-side-actions" }}
{{ end }}
{{ define "left" }}
{{- if and (not .IsDir) (.User.AllowEdit) }}
{{- if .Editor}}
{{- if eq .Data.Mode "markdown" }}
{{- end }}
{{- if eq .Data.Visual true }}
{{- end }}
{{/* end if editor */}}
{{- end }}
{{/* end if not dir and AllowEdit */}}
{{- end }}
{{- if and .IsDir .User.AllowEdit }}
{{- end }}
{{ end }}