{{if and (eq .Sort "name") (ne .Order "desc")}} Name {{else if and (eq .Sort "name") (ne .Order "asc")}} Name {{else}} Name {{end}} | {{if and (eq .Sort "time") (ne .Order "desc")}} Modified {{else if and (eq .Sort "time") (ne .Order "asc")}} Modified {{else}} Modified {{end}} | |
---|---|---|
{{if .IsDir}} {{.Name}} {{else}} {{ if canBeEdited .URL }} {{.Name}} {{ else }} {{.Name}} {{ end }} {{ end }} |