{{template "base/head" .}}
{{template "repo/header" .}} {{template "repo/settings/navbar" .}}
{{template "base/alert" .}}

{{.i18n.Tr "repo.settings.lfs"}} / {{.LFSFile.Oid}}

{{if .IsMarkup}} {{if .FileContent}}{{.FileContent | Safe}}{{end}} {{else if .IsRenderedHTML}}
{{if .FileContent}}{{.FileContent | Str2html}}{{end}}
{{else if not .IsTextFile}}
{{if .IsImageFile}} {{else if .IsVideoFile}} {{else if .IsAudioFile}} {{else if .IsPDFFile}} {{else}} {{.i18n.Tr "repo.file_view_raw"}} {{end}}
{{else if .FileSize}} {{if .IsFileTooLarge}} {{else}} {{end}}
{{.i18n.Tr "repo.file_too_large"}}{{.LineNums}}
    {{.FileContent}}
{{end}}
{{template "base/footer" .}}