// Code generated by go generate; DO NOT EDIT.
package template // import "miniflux.app/template"
var templateViewsMap = map[string]string{
"about": `{{ define "title"}}{{ t "page.about.title" }}{{ end }}
{{ define "content"}}
Miniflux
{{ t "page.about.version" }} {{ .version }}
{{ t "page.about.build_date" }} {{ .build_date }}
{{ t "page.about.credits" }}
{{ t "page.about.author" }} Frédéric Guillot
{{ t "page.about.license" }} Apache 2.0
{{ end }}
`,
"add_subscription": `{{ define "title"}}{{ t "page.add_feed.title" }}{{ end }}
{{ define "content"}}
{{ if not .categories }}
{{ t "page.add_feed.no_category" }}
{{ else }}
{{ end }}
{{ end }}
`,
"api_keys": `{{ define "title"}}{{ t "page.api_keys.title" }}{{ end }}
{{ define "content"}}
{{ if .apiKeys }}
{{ range .apiKeys }}
{{ t "page.api_keys.table.description" }}
{{ .Description }}
{{ t "page.api_keys.table.token" }}
{{ .Token }}
{{ t "page.api_keys.table.last_used_at" }}
{{ if .LastUsedAt }}
{{ elapsed $.user.Timezone .LastUsedAt }}
{{ else }}
{{ t "page.api_keys.never_used" }}
{{ end }}
{{ t "page.api_keys.table.created_at" }}
{{ elapsed $.user.Timezone .CreatedAt }}
{{ t "page.api_keys.table.actions" }}
{{ t "action.remove" }}
{{ end }}
{{ end }}
{{ t "page.integration.miniflux_api" }}
{{ t "page.integration.miniflux_api_endpoint" }} = {{ baseURL }}/v1/
{{ t "page.integration.miniflux_api_username" }} = {{ .user.Username }}
{{ t "page.integration.miniflux_api_password" }} = {{ t "page.integration.miniflux_api_password_value" }}
{{ t "menu.create_api_key" }}
{{ end }}
`,
"bookmark_entries": `{{ define "title"}}{{ t "page.starred.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_bookmark" }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}
`,
"categories": `{{ define "title"}}{{ t "page.categories.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .categories }}
{{ t "alert.no_category" }}
{{ else }}
{{ range .categories }}
{{ end }}
{{ end }}
{{ end }}
`,
"category_entries": `{{ define "title"}}{{ .category.Title }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_category_entry" }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}
`,
"category_feeds": `{{ define "title"}}{{ .category.Title }} > {{ t "page.feeds.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .feeds }}
{{ t "alert.no_feed_in_category" }}
{{ else }}
{{ template "feed_list" dict "user" .user "feeds" .feeds "ParsingErrorCount" .ParsingErrorCount }}
{{ end }}
{{ end }}
`,
"choose_subscription": `{{ define "title"}}{{ t "page.add_feed.title" }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"create_api_key": `{{ define "title"}}{{ t "page.new_api_key.title" }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"create_category": `{{ define "title"}}{{ t "page.new_category.title" }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"create_user": `{{ define "title"}}{{ t "page.new_user.title" }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"edit_category": `{{ define "title"}}{{ t "page.edit_category.title" .category.Title }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"edit_feed": `{{ define "title"}}{{ t "page.edit_feed.title" .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" }} {{ elapsed $.user.Timezone .feed.CheckedAt }}
{{ 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 }}
{{ end }}
{{ end }}
`,
"edit_user": `{{ define "title"}}{{ t "page.edit_user.title" .selected_user.Username }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"entry": `{{ define "title"}}{{ .entry.Title }}{{ end }}
{{ define "content"}}
{{ if gt (len .entry.Content) 120 }}
{{ if .user }}
{{ end }}
{{ end }}
{{ if .user }}
{{ noescape (proxyFilter .entry.Content) }}
{{ else }}
{{ noescape .entry.Content }}
{{ end }}
{{ if .entry.Enclosures }}
{{ t "page.entry.attachments" }} ({{ len .entry.Enclosures }})
{{ range .entry.Enclosures }}
{{ if ne .URL "" }}
{{ if hasPrefix .MimeType "audio/" }}
{{ else if hasPrefix .MimeType "video/" }}
{{ else if hasPrefix .MimeType "image/" }}
{{ if $.user }}
{{ else }}
{{ end }}
{{ end }}
{{ .URL | safeURL }}
{{ if gt .Size 0 }} - {{ formatFileSize .Size }} {{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ if .user }}
{{ end }}
{{ end }}
`,
"feed_entries": `{{ define "title"}}{{ .feed.Title }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if ne .feed.ParsingErrorCount 0 }}
{{ t "alert.feed_error" }}
{{ t .feed.ParsingErrorMsg }}
{{ end }}
{{ if not .entries }}
{{ if .showOnlyUnreadEntries }}
{{ t "alert.no_unread_entry" }}
{{ else }}
{{ t "alert.no_feed_entry" }}
{{ end }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}
`,
"feeds": `{{ define "title"}}{{ t "page.feeds.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .feeds }}
{{ t "alert.no_feed" }}
{{ else }}
{{ template "feed_list" dict "user" .user "feeds" .feeds "ParsingErrorCount" .ParsingErrorCount }}
{{ end }}
{{ end }}
`,
"history_entries": `{{ define "title"}}{{ t "page.history.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_history" }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}
`,
"import": `{{ define "title"}}{{ t "page.import.title" }}{{ end }}
{{ define "content"}}
{{ if .errorMessage }}
{{ t .errorMessage }}
{{ end }}
{{ end }}
`,
"integrations": `{{ define "title"}}{{ t "page.integrations.title" }}{{ end }}
{{ define "content"}}
{{ t "page.integration.bookmarklet" }}
{{ t "page.integration.bookmarklet.help" }}
{{ t "page.integration.bookmarklet.instructions" }}
{{ end }}
`,
"login": `{{ define "title"}}{{ t "page.login.title" }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"search_entries": `{{ define "title"}}{{ t "page.search.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_search_result" }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}
`,
"sessions": `{{ define "title"}}{{ t "page.sessions.title" }}{{ end }}
{{ define "content"}}
{{ t "page.sessions.table.date" }}
{{ t "page.sessions.table.ip" }}
{{ t "page.sessions.table.user_agent" }}
{{ t "page.sessions.table.actions" }}
{{ range .sessions }}
{{ elapsed $.user.Timezone .CreatedAt }}
{{ .IP }}
{{ .UserAgent }}
{{ if eq .Token $.currentSessionToken }}
{{ t "page.sessions.table.current_session" }}
{{ else }}
{{ t "action.remove" }}
{{ end }}
{{ end }}
{{ end }}
`,
"settings": `{{ define "title"}}{{ t "page.settings.title" }}{{ end }}
{{ define "content"}}
{{ if hasOAuth2Provider "google" }}
{{ else if hasOAuth2Provider "oidc" }}
{{ end }}
{{ end }}
`,
"shared_entries": `{{ define "title"}}{{ t "page.shared_entries.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_shared_entry" }}
{{ else }}
{{ range .entries }}
{{ end }}
{{ end }}
{{ end }}
`,
"unread_entries": `{{ define "title"}}{{ t "page.unread.title" }} {{ if gt .countUnread 0 }}({{ .countUnread }}){{ end }} {{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_unread_entry" }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}`,
"users": `{{ define "title"}}{{ t "page.users.title" }}{{ end }}
{{ define "content"}}
{{ if eq (len .users) 1 }}
{{ t "alert.no_user" }}
{{ else }}
{{ t "page.users.username" }}
{{ t "page.users.is_admin" }}
{{ t "page.users.last_login" }}
{{ t "page.users.actions" }}
{{ range .users }}
{{ if ne .ID $.user.ID }}
{{ .Username }}
{{ if eq .IsAdmin true }}{{ t "page.users.admin.yes" }}{{ else }}{{ t "page.users.admin.no" }}{{ end }}
{{ if .LastLoginAt }}
{{ elapsed $.user.Timezone .LastLoginAt }}
{{ else }}
{{ t "page.users.never_logged" }}
{{ end }}
{{ t "action.edit" }} ,
{{ t "action.remove" }}
{{ end }}
{{ end }}
{{ end }}
{{ t "menu.add_user" }}
{{ end }}
`,
}
var templateViewsMapChecksums = map[string]string{
"about": "4035658497363d7af7f79be83190404eb21ec633fe8ec636bdfc219d9fc78cfc",
"add_subscription": "63961a83964acca354bc30eaae1f5e80f410ae4091af8da317380d4298f79032",
"api_keys": "27d401b31a72881d5232486ba17eb47edaf5246eaedce81de88698c15ebb2284",
"bookmark_entries": "892fe6cbf5a3301416dfb76e62935b495ca194275cfe113105a85b40ce7c200f",
"categories": "9dfc3cb7bb91c7750753fe962ee4540dd1843e5f75f9e0a575ee964f6f9923e9",
"category_entries": "8fa0e0b8f85e2572c40dee855b6d636207c3561086b234c93100673774c06746",
"category_feeds": "07154127087f9b127f7290abad6020c35ad9ceb2490b869120b7628bc4413808",
"choose_subscription": "22109d760ea8079c491561d0106f773c885efbf66f87d81fcf8700218260d2a0",
"create_api_key": "5f74d4e92a6684927f5305096378c8be278159a5cd88ce652c7be3280a7d1685",
"create_category": "6b22b5ce51abf4e225e23a79f81be09a7fb90acb265e93a8faf9446dff74018d",
"create_user": "9b73a55233615e461d1f07d99ad1d4d3b54532588ab960097ba3e090c85aaf3a",
"edit_category": "b1c0b38f1b714c5d884edcd61e5b5295a5f1c8b71c469b35391e4dcc97cc6d36",
"edit_feed": "7e86275f8e9325ddbffe79f6db871e58ad86d08c396e9b2ff8af69a09c4bf63b",
"edit_user": "c692db9de1a084c57b93e95a14b041d39bf489846cbb91fc982a62b72b77062a",
"entry": "c503dcf77de37090b9f05352bb9d99729085eec6e7bc22be94f2b4b244b4e48c",
"feed_entries": "ea5b88e3ad6b166d83b70e021d7b420d025f80decb6e24c79d13f8ce7c910b04",
"feeds": "ec7d3fa96735bd8422ba69ef0927dcccddc1cc51327e0271f0312d3f881c64fd",
"history_entries": "341f0da8b6c27a8377901aa80bb1d5c923672af32f689d36de14deabce5c737f",
"import": "1b59b3bd55c59fcbc6fbb346b414dcdd26d1b4e0c307e437bb58b3f92ef01ad1",
"integrations": "30329452743b35c668278f519245fd9be05c1726856e0384ba542f7c307f2788",
"login": "79ff2ca488c0a19b37c8fa227a21f73e94472eb357a51a077197c852f7713f11",
"search_entries": "c0786ddc6b17e865007b975eefb97417935cbc601f5917cca1ee0d3f584594bc",
"sessions": "5d5c677bddbd027e0b0c9f7a0dd95b66d9d95b4e130959f31fb955b926c2201c",
"settings": "a4d3df17e6abc75881ec1ca5f92a9c2cfe24e3e08e5d844df848b4d6aaa1bbc0",
"shared_entries": "1494d81e46f6af534a73cf6a91f8dfda1932a477bb3a70143513896ac0f0220b",
"unread_entries": "e0080d0cf3583cda51d865422960137c8556c432853657086e43daf6bd5b73be",
"users": "d7ff52efc582bbad10504f4a04fa3adcc12d15890e45dff51cac281e0c446e45",
}