{{ define "title"}}{{ t "page.edit_feed.title" .feed.Title }}{{ end }}
{{ define "header"}}
{{ .feed.Title }}
{{ end }}
{{ define "content"}}
{{ if not .categories }}
{{ t "page.add_feed.no_category" }}
{{ else }}
{{ if ne .feed.ParsingErrorCount 0 }}
{{ t "page.edit_feed.last_parsing_error" }}
{{ t .feed.ParsingErrorMsg }}
{{ end }}
{{ t "page.edit_feed.last_check" }}
{{ $nextCheckDuration := duration .feed.NextCheckAt }}
{{ if ne $nextCheckDuration "" }}
{{ t "page.feeds.next_check" }}
{{ end }}
{{ t "page.edit_feed.etag_header" }} {{ if .feed.EtagHeader }}{{ .feed.EtagHeader }}{{ else }}{{ t "page.edit_feed.no_header" }}{{ end }}
{{ t "page.edit_feed.last_modified_header" }} {{ if .feed.LastModifiedHeader }}{{ .feed.LastModifiedHeader }}{{ else }}{{ t "page.edit_feed.no_header" }}{{ end }}